Results 1 to 4 of 4

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Modderhead
    Join Date: Nov:2005
    Location:
    Posts: 4,469

    C# - , IDisposable ()

    C# .

    (System.Collections.Concurrent.Concurren tBag<string> cb_X), . IDisposable , :
    Code:
    cb_X = null;
    cb_X = new System.Collections.Concurrent.ConcurrentBag<string>();
    ?

  2. #2
    Jedi rargirov's Avatar
    Join Date: Oct:2007
    Location:
    Posts: 654
    IDisposable? , sealed

  3. #3
    Registered User wp7guy's Avatar
    Join Date: Jan:2011
    Location: Sofia
    Posts: 1,264
    ( , ConcurrentBag<IDisposable> ):

    cb_X = new System.Collections.Concurrent.Concurrent Bag<string>();

    CLR-a .
    "The only way to discover the limits of the possible is to go beyond them into the impossible." - Arthur C. Clarke's second low.

  4. #4
    Modderhead
    Join Date: Nov:2005
    Location:
    Posts: 4,469
    . CLR . , . disposable , . .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |