[Mono-list] Unbox a C# object after invoke?

efontana eric at fontanas.net
Fri Feb 24 19:48:08 UTC 2012


When I was trimming this down, i forgot to put the return r; in the method,
it was always there, just
wanted to be complete.

public ComplexResults MyMethod() 
{ 
    ComplexResults r = new ComplexResults(); 
    r.x = 100; 
    r.y = 200; 
    r.value = "hello world"; 
    return r;
} 

--
View this message in context: http://mono.1490590.n4.nabble.com/Unbox-a-C-object-after-invoke-tp4418445p4418448.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list