¡@

Home 

c# Programming Glossary: explained

Possible pitfalls of using this (extension method based) shorthand

http://stackoverflow.com/questions/123088/possible-pitfalls-of-using-this-extension-method-based-shorthand

Why covariance and contravariance do not support value type

http://stackoverflow.com/questions/12454794/why-covariance-and-contravariance-do-not-support-value-type

List int IEnumerable object objList intList The reason is explained in MSDN Variance applies only to reference types if you specify..

Should I learn VB.NET or C#? [closed]

http://stackoverflow.com/questions/1653895/should-i-learn-vb-net-or-c

is a database file system UPDATE1 After some really good explained answers actually all are good at their place I have finally..

How is Generic Covariance & Contra-variance Implemented in C# 4.0?

http://stackoverflow.com/questions/245607/how-is-generic-covariance-contra-variance-implemented-in-c-sharp-4-0

. How could that be In Jon Skeet's book C# in Depth it is explained why C# generics doesn't support covariance and contra variance...

C# Object Pooling Pattern implementation

http://stackoverflow.com/questions/2510975/c-sharp-object-pooling-pattern-implementation

lock itemStore itemStore.Store item sync.Release As explained earlier we're using the Semaphore to control concurrency instead..

Register a dll into the GAC - but then it doesn't show up in the assembly window

http://stackoverflow.com/questions/2611108/register-a-dll-into-the-gac-but-then-it-doesnt-show-up-in-the-assembly-window

Your code doesn't register the assembly in GAC but as explained here Registers the classes in a managed assembly to enable creation..

Properties vs. Fields: Need help grasping the uses of Properties over Fields

http://stackoverflow.com/questions/3069901/properties-vs-fields-need-help-grasping-the-uses-of-properties-over-fields

from different writers on properties and none have really explained a good understanding of properties vs. fields vs. encapsulation..

Multithreaded NamePipeServer in C#

http://stackoverflow.com/questions/4570653/multithreaded-namepipeserver-in-c-sharp

The simplest approach to multithreading the server is explained in this SO answer which includes a pseudo code template. More..

What Advantages of Extension Methods have you found? [closed]

http://stackoverflow.com/questions/487904/what-advantages-of-extension-methods-have-you-found

was asking me what the purpose to extension methods was. I explained that you could then add new methods to objects that were already..

Casting vs using the 'as' keyword in the CLR

http://stackoverflow.com/questions/496096/casting-vs-using-the-as-keyword-in-the-clr

so far at the time of starting this answer have really explained where it's worth using which. Don't do this Bad code checks..

How do you find all implementations of an interface?

http://stackoverflow.com/questions/620376/how-do-you-find-all-implementations-of-an-interface

you the keyboard shortcut this can vary which is why I explained how to find it If you don't have ReSharper You can use Reflector..

The provider is not compatible with the version of Oracle client

http://stackoverflow.com/questions/659341/the-provider-is-not-compatible-with-the-version-of-oracle-client

ODP.Net is fussy about not mixing version numbers. I've explained how to do this here http splinter.com.au using the new odpnet..

How to make a window always stay on top in .Net?

http://stackoverflow.com/questions/683330/how-to-make-a-window-always-stay-on-top-in-net

Writing large number of records (bulk insert) to Access in .NET/C#

http://stackoverflow.com/questions/7070011/writing-large-number-of-records-bulk-insert-to-access-in-net-c

are several lines of code that are commented. They will be explained soon. public static double TestDAOTransferToAccess string databaseName..

Listing all permutations of a string/integer

http://stackoverflow.com/questions/756055/listing-all-permutations-of-a-string-integer

seen a few code snippets but they weren't well commented explained and thus hard to follow. c# algorithm permutation share improve..

Entity Framework 4.1. Most efficient way to get multiple entities by primary key?

http://stackoverflow.com/questions/8107439/entity-framework-4-1-most-efficient-way-to-get-multiple-entities-by-primary-key

of using Contains with Entity Framework is shown and explained here Why does the Contains operator degrade Entity Framework's..

Is there a reason for C#'s reuse of the variable in a foreach?

http://stackoverflow.com/questions/8898925/is-there-a-reason-for-cs-reuse-of-the-variable-in-a-foreach

on the query to be based on the final value of s . As explained here this happens because the s variable declared in foreach..

How can I detect the encoding/codepage of a text file

http://stackoverflow.com/questions/90838/how-can-i-detect-the-encoding-codepage-of-a-text-file

About Encodings If you completely forget everything I just explained please remember one extremely important fact. It does not make..

Possible to call C++ code from C#?

http://stackoverflow.com/questions/935664/possible-to-call-c-code-from-c

Why is Multiple Inheritance not allowed in Java or C#?

http://stackoverflow.com/questions/995255/why-is-multiple-inheritance-not-allowed-in-java-or-c

for .NET Chris Brumme who worked at MS on the CLR has explained the reasons why they decided not to Different languages actually..