Basic C# problems