Created
August 23, 2015 09:14
-
-
Save bookercodes/2512758d36a78cf0c77e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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