这两个类在客户端服务器通讯时需要用到 暂时称为契约类吧 [ProtoContract] public class LoginContract { //用户ID [ProtoMember(1)] public string UserID { get; set; } //用户密码 [ProtoMember(2)] public string PassWord { get; set; } public LoginContract() { } public LoginContract(string us