單項(xiàng)選擇題

在C#程序中,如果類B要繼承類A,類B正確的定義為()。

A.public class B inherit A
B.public class B :: A
C.public class B : A
D.public class B from A

微信掃碼免費(fèi)搜題