Implementing People class in C# and Java