What we sometimes see in C# code
MyClass myClass = SomeFunc() as MyClass; // just to show we are accessing a string property Console.WriteLine(myClass.SomeProperty);
MyClass myClass = SomeFunc() as MyClass; // just to show we are accessing a string property Console.WriteLine(myClass.SomeProperty);