Initial C#, not working properly