return class from function in c# -


can return class object function in c# return value instead return string or int or ..etc

a class object in c# type. can return function:

public type foo() {     return typeof(string); }  public type bar() {     return somenonnullvariable.gettype(); } 

Comments