static void Main( string [] args) { System.Threading.Timer t = new System.Threading.Timer(state => { Console .WriteLine( "Timer!" ); GC.Collect(); }, null , 0, 1000); Console .ReadKey(); } * This source code was highlighted with Source Code Highlighter .
static void Main( string [] args) { System.Threading.Timer t = new System.Threading.Timer(state => { Console .WriteLine( "Timer!" ); GC.Collect(); }, null , 0, 1000); Console .ReadKey(); } * This source code was highlighted with Source Code Highlighter .
static void Main( string [] args) { System.Threading.Timer t = new System.Threading.Timer(state => { Console .WriteLine( "Timer!" ); GC.Collect(); }, null , 0, 1000); Console .ReadKey(); } * This source code was highlighted with Source Code Highlighter .
static void Main( string [] args) { System.Threading.Timer t = new System.Threading.Timer(state => { Console .WriteLine( "Timer!" ); GC.Collect(); }, null , 0, 1000); Console .ReadKey(); } * This source code was highlighted with Source Code Highlighter .
static void Main( string [] args) { System.Threading.Timer t = new System.Threading.Timer(state => { Console .WriteLine( "Timer!" ); GC.Collect(); }, null , 0, 1000); Console .ReadKey(); } * This source code was highlighted with Source Code Highlighter .
static void Main( string [] args) { System.Threading.Timer t = new System.Threading.Timer(state => { Console .WriteLine( "Timer!" ); GC.Collect(); }, null , 0, 1000); Console .ReadKey(); } * This source code was highlighted with Source Code Highlighter .
static void Main( string [] args) { System.Threading.Timer t = new System.Threading.Timer(state => { Console .WriteLine( "Timer!" ); GC.Collect(); }, null , 0, 1000); Console .ReadKey(); } * This source code was highlighted with Source Code Highlighter .
static void Main( string [] args) { System.Threading.Timer t = new System.Threading.Timer(state => { Console .WriteLine( "Timer!" ); GC.Collect(); }, null , 0, 1000); Console .ReadKey(); } * This source code was highlighted with Source Code Highlighter .
static void Main( string [] args) { System.Threading.Timer t = new System.Threading.Timer(state => { Console .WriteLine( "Timer!" ); GC.Collect(); }, null , 0, 1000); Console .ReadKey(); } * This source code was highlighted with Source Code Highlighter .
static void Main( string [] args) { System.Threading.Timer t = new System.Threading.Timer(state => { Console .WriteLine( "Timer!" ); GC.Collect(); }, null , 0, 1000); Console .ReadKey(); } * This source code was highlighted with Source Code Highlighter .
static void Main( string [] args) { System.Threading.Timer t = new System.Threading.Timer(state => { Console .WriteLine( "Timer!" ); GC.Collect(); }, null , 0, 1000); Console .ReadKey(); } * This source code was highlighted with Source Code Highlighter .
.method private hidebysig static void Main(string[] args) cil managed
{
.entrypoint
.maxstack 5
.locals init (
[0] class [mscorlib]System.Threading.Timer t)
L_0000: nop
L_0001: ldsfld class
[mscorlib]System.Threading.TimerCallback ConsoleApplication11.Program::CS$<>9__CachedAnonymousMethodDelegate1
....
.method private hidebysig static void Main(string[] args) cil managed
{
.entrypoint
.maxstack 8
L_0000: ldsfld class [mscorlib]System.Threading.TimerCallback ConsoleApplication11.Program::CS$<>9__CachedAnonymousMethodDelegate1
....
Source: https://habr.com/ru/post/108815/
All Articles