为什么一个公开的方法不能实例化

为什么调用另一个包的类,里面是public的,调用的时候显示不能被实例化Cannot instantiate the type SOAPBinding.Style

img

类才能被实例化,方法是被调用的

SOAPBinding.Style 不是你定义的 Style