Am I doing this right? - C#