Shorter Construction Syntax
Did you ever notice the redundancy that’s forced by C#’s syntax for invoking and defining constructors?
using System.Collections.Generic;
class Thing
{
Thing(int x, int y)
{ … }
public static void Main()
{
Thing a = new Thing(3,2);
Dictionary<string,double>
[…]
Posted on February 25th, 2007 by Andrew
Under C# / Common Language Infrastructure | 2 Comments »