1. Friday, January 05, 2007 12:34:10 AM by Paul Looijmans
    re:properties: C# 3.0 will have a new feature called automatic properties, see:

    I don't think it's in the current CTP yet though. Let's hope they include it in the January CTP that should be released any day now.
  2. Monday, March 05, 2007 7:57:12 PM by Alex James
    Another source of enlightenment is Derek Slager....
  3. Tuesday, March 06, 2007 3:31:23 PM by Daniel
    The equivalent of is File.ReadAllText(), no need to use a StreamReader.
  4. Friday, May 25, 2007 2:11:03 AM by Haacked
    Very cool! I'm sure these methods will go in many a developer's utilities class library.
  5. Tuesday, September 11, 2007 10:46:28 PM by Jim
    Very nice article. I can see someone rolling a ton of methods like these up into a utility class library. It might be a good open-source project for codeplex once C# 3.0 gets out of beta.
  6. Friday, September 28, 2007 8:30:26 PM by Georges Benatti Jr
    For more expressiviness in the staticaly typed word, look at Boo,

    It supports extensions, regex with ruby sintax, a match operator ~=,closures, has [property] and [getter] atributes... and other features... all running on top of the CLR, so, compatible with C#, VB...
  7. Tuesday, December 04, 2007 4:26:06 AM by portrait painting
    Thanks for sharing this to us. This is our lesson at school this week and our professor seems to be explaining stuff in a very complicated way. Perhaps I can share this to our class and see if my Professor has something to say.
  8. Sunday, March 16, 2008 10:26:09 PM by Pete
    Re. a feature of Ruby's syntax which I cannot emulate -- its tight property syntax:

    class Circle
    attr_accessor :center, :radius

    C# 3.0 has automatic properties to do just this.

    class Circle
    public int Centre { get; set; }
    public int Radius { get; set; }
  9. Friday, March 21, 2008 11:26:15 PM by Ryan Garaygay
    Very insightful post. This should go into utilities class libraries indeed.
  10. Thursday, July 31, 2008 9:14:45 AM by Erik
    Where(s => s.Contains("Ruby")).
    Each(s => MessageBox.Show(s));
  11. Wednesday, August 20, 2008 1:19:04 PM by alejandro varela (rosario)
    smells like ruby spirit!
  12. Friday, May 22, 2009 5:48:41 PM by Brian
    I would like to add that int does infact inherit from System.Object in .NET. The inheritance tree, in reverse, is
    System.Int32 -> System.ValueType -> System.Object
Add Comment