¡@

Home 

c# Programming Glossary: enumerating

Are IEnumerable Linq methods thread-safe?

http://stackoverflow.com/questions/11103779/are-ienumerable-linq-methods-thread-safe

does not have exclusive access to the collection therefore enumerating through a collection is intrinsically not a thread safe procedure...

What's the best way of implementing a thread-safe Dictionary?

http://stackoverflow.com/questions/157933/whats-the-best-way-of-implementing-a-thread-safe-dictionary

IDictionary members... Edit The MSDN docs point out that enumerating is inherently not thread safe. That can be one reason for exposing.. performing an action on all members and lock around the enumerating of the members. The problem with this is that you don't know..

enumerating assemblies in GAC

http://stackoverflow.com/questions/1599575/enumerating-assemblies-in-gac

assemblies in GAC How can I enumerate all available assemblies.. for your hosting environment. It could be embellished by enumerating deeper into each assembly's folder to yank out the version number..

Calculate the number of business days between two dates?

http://stackoverflow.com/questions/1617049/calculate-the-number-of-business-days-between-two-dates

a task before and I've got the solution. I would avoid enumerating all days in between when it's avoidable which is the case here...

What is a predicate in c#?

http://stackoverflow.com/questions/1710301/what-is-a-predicate-in-c

scenes the Find method which takes a Predicate T is just enumerating after all. The same is true for a lot of Linq's functionality...

Enumerating Collections that are not inherently IEnumerable?

http://stackoverflow.com/questions/1815497/enumerating-collections-that-are-not-inherently-ienumerable

Linq like those found here link text But when you are enumerating something like the Controls collection of a Form or the Nodes..

When should I dispose of a data context

http://stackoverflow.com/questions/389822/when-should-i-dispose-of-a-data-context

open. The DataContext relies on the application code enumerating all results of a query since getting to the end of a resultset..

The order of elements in Dictionary

http://stackoverflow.com/questions/4007782/the-order-of-elements-in-dictionary

order of elements in Dictionary My question is about enumerating Dictionary elements Dictionary definition private Dictionary.. simply is not defined for hashtables. So don't rely on enumerating in the same order as elements were added to the dictionary...

Collection was modified; enumeration operation may not execute - why?

http://stackoverflow.com/questions/4536090/collection-was-modified-enumeration-operation-may-not-execute-why

modified enumeration operation may not execute why I'm enumerating over a collection that implements IList and during the enumeration.. code that might rely on modifying a collection while enumerating it would have serious problems when the collection implementation..

get all types in assembly with custom attribute

http://stackoverflow.com/questions/4852879/get-all-types-in-assembly-with-custom-attribute

improve this question I wouldn't think you can dodge enumerating every type in the assembly checking for the attribute but you..

What is the difference between Directory.EnumerateFiles vs Directory.GetFiles?

http://stackoverflow.com/questions/5669617/what-is-the-difference-between-directory-enumeratefiles-vs-directory-getfiles

as follows When you use EnumerateFiles you can start enumerating the collection of names before the whole collection is returned..

C# - how enumerate all classes with custom class attribute?

http://stackoverflow.com/questions/607178/c-sharp-how-enumerate-all-classes-with-custom-class-attribute

classes items will grow slowly but this way we can avoid enumerating them all elsewhere I think. c# class attributes custom attributes..

Distinction between iterator and enumerator

http://stackoverflow.com/questions/716238/distinction-between-iterator-and-enumerator

this question Iterating means repeating some steps while enumerating means going through all values in a collection of values. So.. going through all values in a collection of values. So enumerating usually requires some form of iteration. In that way enumerating.. usually requires some form of iteration. In that way enumerating is a special case of iterating where the step is getting a value..

Active Directory COM Exception - An operations error occured (0x80072020)

http://stackoverflow.com/questions/7285503/active-directory-com-exception-an-operations-error-occured-0x80072020

found another Stack Overflow question Active Directory enumerating user's gropus COM exception suggesting that enabling Kerberos..

How can I get URLs of open pages from Chrome and Firefox?

http://stackoverflow.com/questions/7814027/how-can-i-get-urls-of-open-pages-from-chrome-and-firefox

using DDE source below Chrome You can get the URL while enumerating all the child windows untill you get to the control with class..

foreach + break vs linq FirstOrDefault performance difference

http://stackoverflow.com/questions/8214055/foreach-break-vs-linq-firstordefault-performance-difference

would make sense when I would store items locally without enumerating them using ToList . This would make it much slower because with..

Enumerating through an object's properties (string) in C#

http://stackoverflow.com/questions/1447308/enumerating-through-an-objects-properties-string-in-c-sharp

through an object's properties string in C# Let's say I have..

Enumerating Collections that are not inherently IEnumerable?

http://stackoverflow.com/questions/1815497/enumerating-collections-that-are-not-inherently-ienumerable

Collections that are not inherently IEnumerable When you want..

Enumerating Network Shares with C#

http://stackoverflow.com/questions/2091126/enumerating-network-shares-with-c-sharp

Network Shares with C# Is there a part of the .net framework..

Modifying .NET Dictionary while Enumerating through it

http://stackoverflow.com/questions/2347269/modifying-net-dictionary-while-enumerating-through-it

.NET Dictionary while Enumerating through it I`m using a Dictionary and I want to change it while..

Enumerating File Handles in C#

http://stackoverflow.com/questions/2611542/enumerating-file-handles-in-c-sharp

File Handles in C# I would like to know whether it is possible..

In C# would it be better to use Queue.Synchronized or lock() for thread safety?

http://stackoverflow.com/questions/338712/in-c-sharp-would-it-be-better-to-use-queue-synchronized-or-lock-for-thread-saf

all operations must be done through this wrapper only. Enumerating through a collection is intrinsically not a thread safe procedure...

SqlDataSourceEnumerator.Instance.GetDataSources() does not locate local SQL server 2008 instance

http://stackoverflow.com/questions/6824188/sqldatasourceenumerator-instance-getdatasources-does-not-locate-local-sql-serv

Incorrect list of available Databases Enumerating SQL Servers Programmatically Listing SQL Servers share improve..

C# - What is the best way to modify a list in a 'foreach' loop?

http://stackoverflow.com/questions/759966/c-sharp-what-is-the-best-way-to-modify-a-list-in-a-foreach-loop

of Concurrency Removing Items from a Collection While Enumerating for information on this change. What is the best way to do the..

Enumerating Files Throwing Exception

http://stackoverflow.com/questions/7756626/enumerating-files-throwing-exception

Files Throwing Exception I am trying to enumerate through files..