protogen tool download: you can Baidu search: protobuf-net r668
First prepare the proto file:
To generate a cs file, please see the following:
Finally, use the protogen tool to generate the cs file from the proto file, and the generated content is as follows:
FR: Hunk Xu QQ technical exchange group: 386476712