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 - 4555, trackbacks - 4680

My Links

Archives

Post Categories

Image Galleries

.RO Blogs

.RO People

.RO Sites

Blogs

Furls

Links

vinCitori

maggio 2007 Entries

Quiz Sharp #62

Che parametri dovremmo passare per chiamare il secondo metodo DoSomething (quello in rosso)? Offrite una spiegazione. using System; class Foo{    public void DoSomething()    {        Console.WriteLine("()");    }    public void DoSomething(params object[] args)    {        Console.WriteLine("(params object[])");    }    public void DoSomething(object arg, params object[] args)    {        Console.WriteLine("(object, params object[])");    }}

posted @ sabato 5 maggio 2007 13.01 | Feedback (24) | Filed Under [ Quiz Sharp ]

Powered by: