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

maggio 2007 Blog Posts

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 14:01 | Feedback (24) | Filed Under [ Quiz Sharp ]

Powered by:
Powered By Subtext Powered By ASP.NET