Help with understanding C# code and porting to Objective-C

后端 未结 7 1354
心在旅途
心在旅途 2021-01-20 15:35

Ok, I have this prototype that was written by someone else in C# and I\'m trying to put it into Objective-C. Now, I haven\'t had any formal experience with C# yet, so I don\

7条回答
  •  借酒劲吻你
    2021-01-20 16:05

    The fourth is defining a constructor for the class which takes no parameters and has no actions, and the fifth is defining a constructor for the class which takes as a parameter a double value and which sets the class-internal member variable value to the passed value val.

提交回复
热议问题