Skip to content

Instantly share code, notes, and snippets.

@bookercodes
Created August 23, 2015 09:14
Show Gist options
  • Save bookercodes/2512758d36a78cf0c77e to your computer and use it in GitHub Desktop.
Save bookercodes/2512758d36a78cf0c77e to your computer and use it in GitHub Desktop.
public class Person
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string FullName => FirstName + " " + LastName;
public static Person operator +(Person person1, Person person2) => person1;
public string this[int i] => "Hi";
public void Hello() => Console.WriteLine("Hello");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment