|
|
Browse by Tags
All Tags » Programming » generics withou... » .Net
-
As I was reading this article by Granville Barnett on some of the new operators available on LINQ queries, I thought, ''That's all well and good, but for the time being, we're living in a .Net 2.0 world. I wonder if I could emulate those with just generics & iterators?'' As it turned out, it was quite easy.
First up is Take: Given a ...
-
Here's the C# source code for my SkipFirst Modifier for foreach(). Detailed description
here
-
A couple years back, I made a proposal online for a new feature in C#. It gathered some interest in the newsgroup. I later emailed it to someone on the C# team at Microsoft (I believe it was Eric Gunnerson but I'd really have to look it up), who emailed back a very nice response saying basically, ''We thought about something like this, but ...
-
Here's the source code, project file and PowerPoint file for my presentation at the 3rd NJ Code Camp.
-
Over the weekend, I attended the third NJ Code Camp. And since the moderators asked nicely, I presented this series as a talk. Overall, the lecture didn't go well. (I was too nervous and talk too quickly. Oddly, on one of the evaluation sheets, someone complained that I was talking too loudly, which I first is the first time in my life that ...
-
My previous article on this subject dealt with creating a lazy-loaded data type. But, if you think about it, that's realy just a collection, with just one item. I promised you use of generics without collections, so let's move this to the next step, using the type to affect the behavior of the code, without ever storing an object of that ...
-
Having moved to C# after years of being a C++ programmer, I was quite happy when generics were added to C#. I could finally do some of the things I was doing before with C++'s templates.
However, I noticed something about how C# programmers were using generics --- In fact, it was exactly the way C++ programmer were using templates when they ...
|
|
|