C# 自定义类中括号取值 测试
2021-02-04 18:15
标签:class 定义 oid tostring string abc int cti try C# 自定义类中括号取值 测试 标签:class 定义 oid tostring string abc int cti try 原文地址:https://www.cnblogs.com/enych/p/11458489.html public class ABC : Hashtable{}
static class Program
{
public static ABC a= new ABC();
static void Main(string[] args)
{
var c = a["0"]; //自定义类中括号取值
}
}
var t = Request.Form["sets"].ToString();
public abstract class HttpRequest
{
public abstract IFormCollection Form { get; set; }
}
public interface IFormCollection : IEnumerable
下一篇:api校验