Web Log di Adrian Florea

"You know you've achieved perfection in design, not when you have nothing more to add, but when you have nothing more to take away." Antoine de Saint-Exupery
posts - 440, comments - 2715, trackbacks - 3944

My Links

Archives

Post Categories

Image Galleries

.RO Blogs

.RO People

.RO Sites

Blogs

Furls

Links

vinCitori

[,][] e [][,] (Nicu G. Fruja)

Questo snippet che può sembrare banale:

using System;

class Test
{
  static void Main()
  {
    int[,][] a = new int[2,3][];
    Console.WriteLine(a.GetType());
    Console.Read();
  }
}

stampa a console System.Int32[][,] - magari qualcuno di noi si aspettava System.Int32[,][] :-)

Print | posted on lunedì 9 agosto 2004 19:20 | Filed Under [ Carillon .NET ]

Powered by:
Powered By Subtext Powered By ASP.NET