How to do a static cast in C#?

后端 未结 4 2245
迷失自我
迷失自我 2020-12-21 08:43

Given a couple types like this:

interface I {}
class C : I {}

How can I do a static type cast? By this I mean: how can I change its type in

4条回答
提交回复
热议问题