[c#] C# : "A first chance exception of type 'System.InvalidOperationException'"