Skip to content

Instantly share code, notes, and snippets.

@guglielmino
Created January 2, 2017 17:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guglielmino/79f454ec06f5477215fb83e0f08201ef to your computer and use it in GitHub Desktop.
Save guglielmino/79f454ec06f5477215fb83e0f08201ef to your computer and use it in GitHub Desktop.
devquiz
public class NewClass {
private string _property { get; set; }
public NewClass(string s){
this._property = s;
}
public static implicit operator NewClass(string s){
return new NewClass(s);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment