none
Anyone can introduce => of c# ? RRS feed

  • Question

  • Is it a new feature of .NetFramework 4.0?

    ThreadPool.QueueUserWorkItem(o=>Count(cts.Token,1000));
    var cts1 = new CancellationTokenSource();cts1.Token.Register(() => Console.WriteLine("cts1 canceled"));
    Task<Int32> t = new Task<Int32>(n=>TaskTest.Sum((Int32)n),100);

    Could you tell me why we choose o/()/n before =>

    Thanks a lot!

    Tuesday, October 25, 2011 2:33 AM

Answers

All replies