.Net
Invalid cast: Unable to cast object of type ‘System.Double’ to type ‘System.Int32’.
Hello, I was testing the new .Net 5 framework and the new C# 9 and by coincidence I came across the following situation: If I run the following code I get and InvalidCastException with the Read more…