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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -