The Cave

14 Apr

C# Shorthand

C# conveniences to make coding easier:

  1. The ? conditional evaluation operator
  2. Null-Coalesce operator (??)
  3. Object Initializers
  4. The using statement
  5. Aliases for long winded namespaces and types
  6. Nullable objects
  7. Automatic Properties
  8. Type inference
  9. Lambda Expressions
  10. string.IsNullOrEmpty

And bonus points coming in C# 4.0:

  • Optional and named parameters in C# 4.0
FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share

Leave a Reply

You must be logged in to post a comment.

© 2014 The Cave | Entries (RSS) and Comments (RSS)

GPS Reviews and news from GPS Gazettewordpress logo