Sundarrajk's Weblog

Archive for the ‘C#’ Category

1. C# started moderately better than Java.
2. It has grown well and the points  from 4 on are good features which have evolved in C#.
3. It has not removed inelegant features making it difficult to use.
4. Delegates are great.
5. Using anonymous delegate to wrap around boiler code like transaction management.
6. Usage of var and type inference makes coding easy.
7. Dynamic vs var. Dynamic allows change of type at run time.
8. Use of anonymous types. This is like JSON. Use tuple object.
9. Linq. Simplifies programming.
10. Using extension methods to inject methods using keyword “this”.
11. Lambda expressions.

Nice.

Advertisements

Categories