Hi,
Could someone show me an example of implementing a return type of a custom class, the following snippet is a static method named Method and the class name is Program.
public static Program Method() {...}
I dont need the method to do anything as such but I cannot leave it like it is because it errors with no return type. Setting it to void would mean changing from the class name Program.
Regards,
Return type
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Apr 8, 2011, 11:23 AM EDT
Posted Apr 8, 2011, 11:29 AM EDT
CrishRank #1,487 · 1.1K reputationPosted Apr 9, 2011, 12:03 AM EDT