This blog is a knowledge base...where I clip cool tricks and urls

Class extensions, statci method

clipped from blogs.msdn.com

After the declaration of C# 3.0 I went ahead and installed the PDC bits. After reading through the language spec. I was very very very unhappy. I mean we were just getting excited over C#2.0 supporting generics, anonymous mehtods, Nullable types and then suddenly someone ruins all the fun by showing us C#3.0. C#2.0 already appears stale. Some great blogs on this are from Cyrus and Matt Warren

List<string> first = new List<string>();

first.AddRange (new string[] {"Hello", "how"});

first.Print();

 blog it

No comments: