Sudheer Kumar

ASP.Net, C#, BizTalk, MSBuild, WPF, WCF, WF....
posts - 28, comments - 111, trackbacks - 16

My Links

News



Archives

Post Categories

March 2008 Entries

LINQ .. A powerful extension to .Net
The post assumes that you have basic under standing of LINQ. The following section tries to give some deeper insight in to the technology. A lot of examples can be found at 101 Linq Samples (http://msdn2.microsoft.com... 1. Language Integrated Query (LINQ): a. How does LINQ work? i. When you write an expression for DLINQ, the expression is converted to a set of DB commands. It then opens a connection to get data. ii. When you use LINQ to objects, it iterates through the...

Posted On Friday, March 28, 2008 10:20 AM | Feedback (5) | Filed Under [ .Net 3.0/3.5 ]

C# 3.5 Cool Features:
C# 3.5 provides a lot of good features and here are a few of them. Implicitly Typed Local Variables: The compiler derives the type from the initialized value. // Implicitly typed local variables. var myInt = 0; var myBool = true; var myString = "Time, marches on..."; These are greatly useful while using with LINQ. Automatic properties: No need to write the entire property syntax. class Car { // Automatic property syntax. public string PetName { get; set; } } ยท But they cannot be used to define read-only...

Posted On Thursday, March 27, 2008 6:21 PM | Feedback (11) | Filed Under [ .Net 3.0/3.5 ]

Powered by: