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

Quiz Sharp 21

using System;

class Foo
{
  static void Main()
  {
    string s;
    int i = 1;
    s = i == 1 ? "A" : s + "B";
    Console.WriteLine(s);
    Console.Read();
  }
}

Cosa viene visualizzato a console?

  • A. A
  • B. compila con warning
  • C. non compila

Print | posted on lunedì 7 giugno 2004 14:12 | Filed Under [ Quiz Sharp ]

Powered by:
Powered By Subtext Powered By ASP.NET