C# 原生参数方法,object参数方法,泛型参数方法 性能比较
class Program {static void Main(string[] args){//转载请保留 http://www.luofenming.com/show.aspx?id=ART2020012600001{Stopwatch stopwatch = new Stopwatch();stopwatch.Start();for(int i = 0; i < 100000000; i++){ShowInt(1);//原生方法}stopwatch.Stop();Console.W…