How to implement a property in an interface

后端 未结 6 1140
醉话见心
醉话见心 2020-12-04 11:43

I have interface IResourcePolicy containing the property Version. I have to implement this property which contain value, the code written in other

6条回答
  •  半阙折子戏
    2020-12-04 12:48

    • but i already assigned values such that irp.WrmVersion = "10.4";

    J.Random Coder's answer and initialize version field.

    
    private string version = "10.4';
    

提交回复
热议问题