Search


Thursday, March 27, 2008

C# 3.0 : 5 new features

5 new features for C# 3.0: - lambda expression ( [input parameter] => [expression or statement] ) - Var keyword ( used for unknown type, collection, or object) var object = new {name="john", age=22); [anonymous type] - extension method add more method using static class -->example: public static string threeFirstLetters ( this string x) this will create another method in string class. cool~ - partial method declaration and implementation can be in different file - query expression ex : helloword.Where(word => (word[0] >'g').Select(word => word+' ');

Monday, April 2, 2007

HTML Validator

The HTML validators which we will be discussing, are given in the following table: SERVICE URL SUPPORTED DTDs TYPE OF VALIDATION W3C HTML Validation Service http://validator.w3.org/ HTML 3.2, 4.0, Other DTDs Syntax, Style HTMLChek http://uts.cc.utexas.edu/~churchh/htmlchek.html HTML 3.2 Syntax Weblint http://www.cre.canon.co.uk/~neilb/weblint/ HTML 3.2 Syntax, Style HTML Tidy http://www.w3.org/People/Raggett/tidy/ HTML 4.0 Syntax (limited), Style, Structure Doctor HTML http://www2.imagiware.com/RxHTML/ NA Syntax (limited), Style, Structure

sample from Deitel book

Code Examples: Visual C# 2005 How to Program, 2/eMinimize
Print