Below is a snippet of code that I have extracted for illustrative purpose only.
I have an enum declared in Solidity and returns in a function.
enum State { start, end }
function Test() public view returns(uint, State) ....
In my Nethereum CSharp DTO, may I know how can I model the enum? And how do I know the value of start and end? Are they default to 0 and 1?
[Parameter("enum", 2)]
public int State { get; set; }
Note: This is not duplicate of the JavaScript question, and it is about the conversion from Solidity to Nethereum (in CSharp).