Stories recently tagged with 'Generics'

Hiding generics types complexity(ebersys.blogspot.com)

submitted by BlackTigerXBlackTigerX(460) 5 years, 8 months ago

Generic types can get quite ugly, here's a technique to hide that complexity (both at writing and reading) while keeping all the benefits of generics intact read more...

add a comment |category: |Views: 8

tags: another

Use Generics to improve performance(csharpfeeds.com)

submitted by dalzieldalziel(6230) 5 years, 9 months ago

Generics were of one of main new features in .NET 2.0 languages. In .NET 1.x developers had to use System.Collections non-Generic collections to save their objects but no type checking were occurred for them. Therefore they had to do a type casting when they were retrieving their objects from collections. Now that Microsoft introduced Generics as a type specific alternative for those old means, life is pretty easier for each developer. One of most important reasons to use Generics instead of non-Generic collections is performance. read more...

add a comment |category: |Views: 18

tags: another

Code Climber: A Touch of Generics in the Morning(blogs.msdn.com)

submitted by dalzieldalziel(6230) 5 years, 9 months ago

This article is meant as a gentle introduction to generics. Generics help developers write type safe code that is easy to reuse. They help catch errors at compile time, rather than at run time. Generics make it easier for developers to write code that is self descriptive. In particular, they can help you avoid the confusing syntax and side effects involved in type casting and boxing. read more...

add a comment |category: |Views: 2

tags: another

Fun Iterating PagedCollections With Generics and Iterators(haacked.com)

submitted by dalzieldalziel(6230) 5 years, 9 months ago

Using generics to iterate through a large collection of data without loading the entire collection into memory. read more...

add a comment |category: |Views: 16

tags: another

.NET - The joy of generics(jaltiere.com)

submitted by dalzieldalziel(6230) 5 years, 9 months ago

"Generics have got to be one of my favorite additions to the 2.0 Framework." - What they are & how to use them read more...

add a comment |category: |Views: 2

tags: another

.NET - The joy of generics(jaltiere.com)

submitted by dalzieldalziel(6230) 5 years, 9 months ago

"Generics have got to be one of my favorite additions to the 2.0 Framework." - What they are & how to use them read more...

add a comment |category: |Views: 2

tags: another

Understanding the different generic collections in .NET(weblogs.asp.net)

submitted by back_endback_end(455) 5 years, 10 months ago

Learn when to use List<T>, BindingList<T> and Collection<T> read more...

1 comment |category: |Views: 31

tags: another

Generic Parse method on Enum(weblogs.asp.net)

submitted by gavinjoycegavinjoyce(25.7k) 5 years, 10 months ago

A nice little generic enum parser utility class read more...

1 comment |category: |Views: 78

tags: another