CStar Programmer (@CStarProgrammer) profile picture

A C* programmer at RIM. I learn interesting programming tips everyday and would like to share them with others. Love programming!

Waterloo, ON
Joined November 2009
Very useful article explaining asynchronous method invocation in .NET: http://www.codeproject.com/KB/cs/AsyncMethodInvocation.aspx.
3
CStar Programmer retweeted
Introducing Google Public DNS http://bit.ly/6HZf4O (via @csreed) interesting! could speed up everyone's internet experience
"I know you believe you understand what I said. But I am not sure you realize that what you heard is not what I meant." Alan Greenspan
For heavy multi-threading, Interlocked.CompareExchange becomes useful.
RT @bloggingdev Int32.Parse, Convert.ToInt32, Int32.TryParse - Comparing String to Integer Conversion Methods of .NET http://su.pr/AnMS3J
C# Nullable types: e.g. int? n = null; Useful sometimes: http://bit.ly/i1SMQ
If you ever need to expose events through COM (hopefully you won't), take a look at "Connection points" and "dispinterface".
Using, Close, Dispose and Finalize. Interesting read: http://codeverity.com/timweaver/usingclosedisposeandfinalize/
throw; vs. throw ex; Big difference in .NET: http://www.tkachenko.com/blog/archives/000352.html
Create a custom exception type only if you'll ever need to perform a specific action based on that type.