Bill Blogs in C#

Bill Wagner discusses C#, LINQ, and other items of interest

Browse by Tags

All Tags » generics » C# (RSS)
Sorry, but there are no more tags available to filter with.
Constraints in Generic classes: C# vs. Java
The extra syntax in Java just don't seem that useful to me. There’s been an interesting discussion on the Visual C# language forums relating to generic class constraints. For background, C# lets you specify two forms of constraints in a generic...

Posted by wwagner | with no comments

Filed under: ,

Creating Generic Methods
It's as simple as creating a static generic class Martin Shoemaker wrote a recent post on his blog discussing a number of issues he had migrating TabletUML from .NET 1.x to 2.0, specifically discussing moving to generic collections. I'll add a...

Posted by wwagner | with no comments

Filed under: ,

Covaraint return types in C#
No, they are not supported, but you can achieve the same functionality using generic interfaces One of the attendees at VS Developer Connections yesterday asked about covariant return types in C# during the “Ask the Experts” panel. I said...

Posted by wwagner | with no comments

Filed under: ,