Skip to content

Instantly share code, notes, and snippets.

@cyrilletuzi

cyrilletuzi/class.cs

Created Jan 29, 2017
Embed
What would you like to do?
public class User {
public string FirstName;
public User(string firstName) {
FirstName = firstName;
}
public void SayHello() {}
}
User myUser = new User("Henri");
myUser.FirstName;
myUser.SayHello();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment