Methods in C#