This repo is the official home of .NET on GitHub. It's a great starting point to find many .NET OSS projects from Microsoft and the community, including many that are part of the .NET Foundation.
var a = GC.GetAllocatedBytesForCurrentThread();
Console.WriteLine("a:" + a);
GC.Collect();
var b = GC.GetAllocatedBytesForCurrentThread();
Console.WriteLine("b:" + b);
using System; using System.Linq; using System.Collections.Generic;
var list = new List
} catch { list.Clear(); list1.Clear(); list1 = null; list = null;
}
Console.ReadKey();