Dot Net Cube

Spreading .NET knowledge one cube at a time!

Rarely used C# keywords

clock May 16, 2009 02:34 by author Administrator
  I received a few comments indicating that some of them are not keywords. The intent of this post was to list the C# "features" that are in my opinion rarely used. By features, it could mean be keywords, methods or operators. I really do not want to change the title to read "Ra... [More]


Using Flags Enumeration Type in C#

clock May 9, 2009 02:00 by author Administrator
  What are Flags Enums? Flags Enum types are a convenient way of storing multiple enumerated values. Assume you are working on a Shipping application in which the items that are shipped are represented by an enum type. A regular enum would be: public enum Item { None, Laptop, Hard... [More]


C# 3.0 - Extension Methods

clock October 3, 2008 03:12 by author Administrator
  Extension methods let developers add methods to an existing type without having to recompile. Extension methods are static methods that can be used as instance methods of the type that was extended. Consider an example of a helper method that is used to format a phone number. Given a number ... [More]



 

 

Poll

What is your current job title?











Disclaimer: The views expressed in this website are the author's personal views and in no way reflects the views of his employer or anyone else. Any opinions, tips, ideas, work arounds, fixes or other commentary expressed in this blog is provided "AS IS" without any warranties and rights.



Sign in