Skip to content

Instantly share code, notes, and snippets.

View kostasgrevenitis's full-sized avatar
🌞
Working from home

Konstantinos Grevenitis kostasgrevenitis

🌞
Working from home
View GitHub Profile
@kostasgrevenitis
kostasgrevenitis / ARecordWithExtensionMethods.cs
Last active December 8, 2020 14:36
"C# extension methods to save the day" article - 29/11/2020
void Main() {
var person = new Person {
FirstName = "Konstantinos",
LastName = "Grevenits"
};
Console.WriteLine($ "{person.FirstName} {person.LastName}");
Console.WriteLine(person.Uppercase());
Console.WriteLine(person.Lowercase());
}