January 2008 Entries
Here is simple LINQ example where I have used Extension methods "Where", to select the participants whose score is greater than 80. var participants = Competition.GetParticipants() .Where(participant=> participant.Score > 80) .OrderByDescending(participant => parricipant.Score) .Select(participant => new { participant.Id, Name=participant.Name }); Note: here we are sending a Lamda expression (participant=>participan... as parameter of the "Where" extension method. Ever wondered...
Inside a C# Program Main() and Command Line Arguments (C# Programming Guide) Types (C# Programming Guide) Arrays (C# Programming Guide) Strings (C# Programming Guide) Statements, Expressions, and Operators (C# Programming Guide) (Anonymous Functions, Lambda Expression, Anonymous Methods) Objects, Classes, and Structs (C# Programming Guide) Properties (C# Programming Guide) Indexers (C# Programming Guide) Delegates (C# Programming Guide) Events (C# Programming Guide) Generics (C# Programming Guide)...
Visual Studio Debug Tips: Memory Window http://msdn2.microsoft.com/... be useful the next time I guess
wsdlHelpGenerator makes it very easy to write our Own Help page for the ASP.NET Web service application. Sometimes you might not like the autogenerated Help page and want to add your own company logo and put your own descriptive help page. The following piece of tweak of your web.config will do the trick.<configuration> <system.web> <webServices> <wsdlHelpGenerator href="docs/HelpPage.aspx"/> </webServices> </system.web> </configuration> If you want to use...