摘要:
#.NET支持的类型参数约束有以下五种: where T : struct | T必须是一个结构类型 where T : class | T必须是一个Class类型 where T : new() | T必须要有一个无参构造函数 where T : NameOfBaseClass | T必须继承名为 阅读全文
摘要:
public class VerifyCode { /// <summary> /// 生成验证码 /// </summary> /// <returns></returns> public byte[] GetVerifyCode() { int num = 80; int num2 = 30; 阅读全文
摘要:
public class Net { /// <summary> /// 获取Ip /// </summary> public static string Ip { get { string text = string.Empty; bool flag = HttpContext.Current ! 阅读全文