This post will contain a list of quick tips and good practices in c# that I use..I will be updating this list as I find new things...If you have anything that you would like to contribute, please post them in the comments...cheers
1. Use string.IsNullOrEmpty() - short and sweet to check whether a string is null or empty
2. goto keyword, this is a very useful keyword that can be used to skip certain lines of code in a method - http://msdn2.microsoft.com/en-us/library/13940fs2(VS.71).aspx
Tuesday, 14 August 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment