¡@

Home 

c# Programming Glossary: mind

Why is there not a ForEach extension method on the IEnumerable interface?

http://stackoverflow.com/questions/101265/why-is-there-not-a-foreach-extension-method-on-the-ienumerable-interface

I can see why people are missing the function. I wouldn't mind Microsoft adding a standard ForEach method in the next framework..

Most elegant way to generate prime numbers

http://stackoverflow.com/questions/1042902/most-elegant-way-to-generate-prime-numbers

I don't want it to be obviously inefficient. I don't mind which method is used naive or sieve or anything else but I do..

Catch multiple Exceptions at once?

http://stackoverflow.com/questions/136035/catch-multiple-exceptions-at-once

About the Answer Thanks everyone For some reason I had my mind set on a switch case statement which does not support switching..

Is there a way to indefinitely pause a thread?

http://stackoverflow.com/questions/142826/is-there-a-way-to-indefinitely-pause-a-thread

it easier to get into a deadlock situation etc. Keep in mind that code you are calling may be acquiring releasing locks behind..

Is it better to create a singleton to access unity container or pass it through the application?

http://stackoverflow.com/questions/2386487/is-it-better-to-create-a-singleton-to-access-unity-container-or-pass-it-through

TestSuite testSuite testSuiteParser.Parse SomeXml Do some mind blowing stuff here So the testSuiteParser.Parse does the following..

Why Doesn't C# Allow Static Methods to Implement an Interface?

http://stackoverflow.com/questions/259026/why-doesnt-c-sharp-allow-static-methods-to-implement-an-interface

why shouldn't they Here is an example of what I have in mind These items will be displayed in a list on the screen. public..

Setting Objects to Null/Nothing after use in .NET

http://stackoverflow.com/questions/2785/setting-objects-to-null-nothing-after-use-in-net

collector although this may take time . So with this in mind will setting it to null speed up the system releasing the memory..

Merging dictionaries in C#

http://stackoverflow.com/questions/294138/merging-dictionaries-in-c-sharp

or ignoring duplicate keys. The important bit to my mind is using SelectMany and realising that a dictionary supports..

What are major differences between C# and Java?

http://stackoverflow.com/questions/295224/what-are-major-differences-between-c-sharp-and-java

others you think are relevant. Update Just popped up my mind Java doesn't have something like custom attributes on classes..

Why can't I define a default constructor for a struct in .NET?

http://stackoverflow.com/questions/333829/why-cant-i-define-a-default-constructor-for-a-struct-in-net

a List Rational rather than an array. This reason in my mind is not strong enough to prevent definition of a default constructor...

How to check if an object is nullable?

http://stackoverflow.com/questions/374651/how-to-check-if-an-object-is-nullable

for nullable value types. I didn't have ref types in mind. Note This is just a sample. The code has been simplified to..

Entity Framework 4 - AddObject vs Attach

http://stackoverflow.com/questions/3920111/entity-framework-4-addobject-vs-attach

existingPerson.Name Joe Briggs ctx.SaveChanges Keep in mind this is a very simple example. In reality i am using Pure POCO's..

Performance differences between debug and release builds

http://stackoverflow.com/questions/4043821/performance-differences-between-debug-and-release-builds

the JIT optimizer does completely invisible. It doesn't mind though The JIT optimizer is pretty reliable code mostly because..

Differences in string compare methods in C#

http://stackoverflow.com/questions/44288/differences-in-string-compare-methods-in-c-sharp

if you just want to check for equality is to make up your mind wether you want to use a culture dependant comparison or not..

When is it acceptable to call GC.Collect?

http://stackoverflow.com/questions/478167/when-is-it-acceptable-to-call-gc-collect

to force a garbage collection. One example that springs to mind is a service that wakes up at intervals performs some task and..

C# SIP Stack/Library

http://stackoverflow.com/questions/498056/c-sharp-sip-stack-library

my own parser and call control application. Keep in mind that SIP is still an evolving standard. There is an active SIPForum..

How would you code an efficient Circular Buffer in Java or C#

http://stackoverflow.com/questions/590069/how-would-you-code-an-efficient-circular-buffer-in-java-or-c-sharp

retrieve any element in the buffer by index. But keep in mind that from one moment to the next Element n may be different..

C# DLL config file

http://stackoverflow.com/questions/594298/c-sharp-dll-config-file

user. But if not there is something you should keep in mind. If you use a single global config file for your DLL regardless..

Replacing .NET WebBrowser control with a better browser, like Chrome?

http://stackoverflow.com/questions/790542/replacing-net-webbrowser-control-with-a-better-browser-like-chrome

things of that order but I have another application in mind that will require more err... control. I need A browser that..

Algorithm to find which numbers from a list of size n sum to another number

http://stackoverflow.com/questions/83547/algorithm-to-find-which-numbers-from-a-list-of-size-n-sum-to-another-number

solution which uses recursion naturally I also changed my mind about the method signature and went for List rather than decimal..