private static string _naam;
public static string Naam
Console.WriteLine("You have accessed the setter! I will always chop off the first character of your string, mwuahahahaah!");
_naam = value.Substring(1);
Console.WriteLine("Original value: " + value);
Console.WriteLine("Assigned value: " + _naam);
Console.WriteLine("You have accessed the setter! I will always return your string in uppercase, so you can't ever know the original value, mwuahahahaah!");
public static void Main()
Naam = "Joske Vermeulen";
Console.WriteLine("Returned value: " + Naam);