c# Programming Glossary: performs
Illustrating usage of the volatile keyword in C# http://stackoverflow.com/questions/133270/illustrating-usage-of-the-volatile-keyword-in-c-sharp the volatile keyword. Ideally it should be a program which performs concurrent access to a non volatile static field and which gets..
== or .Equals() http://stackoverflow.com/questions/144530/or-equals objects being tested are in fact the same object. Equals performs an equality test and will return true if the two objects consider..
Intersection of multiple lists with IEnumerable.Intersect() http://stackoverflow.com/questions/1674742/intersection-of-multiple-lists-with-ienumerable-intersect size. It turns out that for most situations the HashSet performs better than the List except with large lists and small random.. foreach method and the aggregate method the foreach method performs slightly better. To me the aggregate method is really appealing..
TransactionScope automatically escalating to MSDTC on some machines? http://stackoverflow.com/questions/1690892/transactionscope-automatically-escalating-to-msdtc-on-some-machines using TransactionScope's to ensure our data access layer performs it's actions in a transaction. We're aiming to not require the..
Understanding Garbage Collection in .net http://stackoverflow.com/questions/17130382/understanding-garbage-collection-in-net by having a debugger present. First off the jitter performs two important duties when it compiles the IL for a method into.. needs to know where to look for object references when it performs a collection. Pretty easy to do when the reference is part of..
FileSystemWatcher Changed event is raised twice http://stackoverflow.com/questions/1764809/filesystemwatcher-changed-event-is-raised-twice only a single file was created. This is because Notepad performs multiple file system actions during the writing process. Notepad..
What does the tilde (~) mean in C#? http://stackoverflow.com/questions/188688/what-does-the-tilde-mean-in-c to least derived. Finalize In C# the Finalize method performs the operations that a standard C destructor would do. In C#..
Best hashing algorithm in terms of hash collisions and performance for strings http://stackoverflow.com/questions/251346/best-hashing-algorithm-in-terms-of-hash-collisions-and-performance-for-strings set of data that needs to be hashed every algorithm that performs very well on average can become completely useless if only being..
What is the difference between casting and conversion? [duplicate] http://stackoverflow.com/questions/3166840/what-is-the-difference-between-casting-and-conversion the form T E where T is a type and E is a unary expression performs an explicit conversion §13.2 of the value of E to type T. Seems..
Compare two List<T> objects for equality, ignoring order http://stackoverflow.com/questions/3669970/compare-two-listt-objects-for-equality-ignoring-order t t list2.OrderBy t t Edit Here is a solution that performs a bit better about ten times faster and only requires IEquatable..
Addition of two integers using bitwise operators http://stackoverflow.com/questions/4068033/addition-of-two-integers-using-bitwise-operators guys I am looking for an example code written in C# that performs a sum of two 32 bits integers by using only bitwise operations..
Asp.Net MVC 2 - Bind a model's property to a different named value http://stackoverflow.com/questions/4316301/asp-net-mvc-2-bind-a-models-property-to-a-different-named-value option would be implementing a custom Model Binder that performs the parameter value assignment as above manually but that is..
When is it acceptable to call GC.Collect? http://stackoverflow.com/questions/478167/when-is-it-acceptable-to-call-gc-collect springs to mind is a service that wakes up at intervals performs some task and then sleeps for a long time. In this case it may..
Casting vs using the 'as' keyword in the CLR http://stackoverflow.com/questions/496096/casting-vs-using-the-as-keyword-in-the-clr which uses the result. The is and cast or is and as performs a test and then another attempt to convert the value. To put..
Why should I implement ICloneable in c#? http://stackoverflow.com/questions/699210/why-should-i-implement-icloneable-in-c indication from the interface whether your Clone method performs a deep or shallow clone. See this blog post from Brad Abrams..
Which cryptographic hash function should I choose? http://stackoverflow.com/questions/800685/which-cryptographic-hash-function-should-i-choose 3820 ms RIPEMD 20 bytes 7066 ms Each of these functions performs differently MD5 being the fastest and RIPEMD being the slowest...
Programming P2P application http://stackoverflow.com/questions/8523330/programming-p2p-application 2. The remote client upon receiving the invite to connect performs step 1 and 2 above as well. Then sends back his candidate list..
How can I duplicate the F# discriminated union type in C#? http://stackoverflow.com/questions/2320919/how-can-i-duplicate-the-f-discriminated-union-type-in-c state callback PostWithReply value summary Performs application defined tasks associated with freeing releasing.. TMessage value Value value Channel new Channel summary Performs application defined tasks associated with freeing releasing.. Reply TReply value Value value CompleteEvent.Set summary Performs application defined tasks associated with freeing releasing..
How do I backup and restore the system clipboard in C#? http://stackoverflow.com/questions/2578900/how-do-i-backup-and-restore-the-system-clipboard-in-c input new KeyboardInput this input.Copy dialogHandle Performs a CTRL C copy operation IDataObject clipboard Clipboard.GetDataObject..
parse and execute JS by C# http://stackoverflow.com/questions/4744105/parse-and-execute-js-by-c-sharp new ParsedScript this dispatch return parsed summary Performs application defined tasks associated with freeing releasing..
Access a Remote Directory from C# http://stackoverflow.com/questions/5433570/access-a-remote-directory-from-c-sharp Disposed #endregion #region Public methods summary Performs application defined tasks associated with freeing releasing.. this #endregion #region Protected methods summary Performs application defined tasks associated with freeing releasing..
|