c# Programming Glossary: aside
.NET HashTable Vs Dictionary - Can the Dictionary be as fast? http://stackoverflow.com/questions/1089132/net-hashtable-vs-dictionary-can-the-dictionary-be-as-fast the order of items. Leaving boxing unboxing issues aside most of the time they should have very similar performance...
Convert System.Drawing.Icon to System.Media.ImageSource http://stackoverflow.com/questions/1127647/convert-system-drawing-icon-to-system-media-imagesource Note I've tried ImageSourceConverter to no avail. As an aside I can get the underlying resource for some but not all of the..
Generating .NET crash dumps automatically http://stackoverflow.com/questions/1134048/generating-net-crash-dumps-automatically crash dump could cause another crash situations like hangs aside but those might be even harder to catch from within the current..
Mixing C# & VB In The Same Project http://stackoverflow.com/questions/1278024/mixing-c-sharp-vb-in-the-same-project the background compiler seems to handle it well enough aside from the fact that I then had 2 classes in the same namespace..
c# conversion of a datetime2 data type to a datetime data type http://stackoverflow.com/questions/1331779/c-sharp-conversion-of-a-datetime2-data-type-to-a-datetime-data-type Do all of them fit within the range of the type As an aside the correct way to get a Type object for the DataColumn constructor..
How to decide between MonoTouch and Objective-C? http://stackoverflow.com/questions/1583856/how-to-decide-between-monotouch-and-objective-c be pleasantly surprised with MonoTouch . But MT happiness aside half a meg vs. nearly three for example is something that might..
How would you compare two XML Documents? http://stackoverflow.com/questions/167946/how-would-you-compare-two-xml-documents such code and would it be possible to share it here On an aside what would you call the first and second documents I've been..
Should C# have multiple inheritance? [closed] http://stackoverflow.com/questions/191691/should-c-sharp-have-multiple-inheritance in C# some of which include philosophical arguments aside Multiple inheritance is too complicated and often ambiguous..
Why does IEnumerable<T> inherit from IEnumerable? http://stackoverflow.com/questions/221691/why-does-ienumerablet-inherit-from-ienumerable and those interfaces are therefore invariant. As an aside they would have been contra variant if T was used only in input..
Displaying standard DataTables in MVC http://stackoverflow.com/questions/2243898/displaying-standard-datatables-in-mvc just not what the cool guys typically do with MVC. As an aside I wish some of the early demos of ASP.NET MVC didn't try to..
File IO with Streams - Best Memory Buffer Size http://stackoverflow.com/questions/3033771/file-io-with-streams-best-memory-buffer-size and the user perceives a less responsive app. As an aside I'm eventually hoping to provide a similar interface to files..
Calling generic method with a type argument known only at execution time http://stackoverflow.com/questions/325156/calling-generic-method-with-a-type-argument-known-only-at-execution-time null No target no arguments Original answer Let's leave aside the obvious problems of calling a variable interface to start..
How to detect installed version of MS-Office? http://stackoverflow.com/questions/3266675/how-to-detect-installed-version-of-ms-office using the MSIEnumProducts API as described here . As an aside parallel installations of different Office versions are not..
Visual Studio Async CTP - How does it work? http://stackoverflow.com/questions/4047427/visual-studio-async-ctp-how-does-it-work workflows in fact it is essentially the same thing aside from some technical details and writing reactive single threaded..
Why can't I access C# protected members except like this? http://stackoverflow.com/questions/567705/why-cant-i-access-c-sharp-protected-members-except-like-this that rule break something And is there a way around that aside from making F public Edit I now get the reason for why this..
Fixed point math in c#? http://stackoverflow.com/questions/605124/fixed-point-math-in-c That's reasonably precise for my purposes. Of course aside from the bugfixes I already had this basic format before I asked..
What's the best way to learn C# quickly? [closed] http://stackoverflow.com/questions/72893/whats-the-best-way-to-learn-c-sharp-quickly stuff out. If they have some 'official' learning time set aside rather than just use a book or a blog or whatever choose some..
How to “flatten” or “index” 3D-array in 1D array? http://stackoverflow.com/questions/7367770/how-to-flatten-or-index-3d-array-in-1d-array WIDTH DEPTH by Flat x WIDTH y DEPTH z Original x y z As an aside you should prefer arrays of arrays over multi dimensional arrays..
C++, C# and JavaScript on WinRT [closed] http://stackoverflow.com/questions/7466303/c-c-sharp-and-javascript-on-winrt design. Generally speaking provides most syntactic sugar aside from async stuff you get LINQ to objects which works over WinRT..
An obvious singleton implementation for .NET? http://stackoverflow.com/questions/953259/an-obvious-singleton-implementation-for-net here at Stack Overflow could clue me in as to what leaving aside the controversy on whether one should use a Singleton at all..
Good introduction to the .NET Reactive Framework [closed] http://stackoverflow.com/questions/1596158/good-introduction-to-the-net-reactive-framework introduction to the .NET Reactive Framework closed Aside from the Microsoft documentation is there a good introduction..
How do I send/receive windows messages between VB6 and c#? http://stackoverflow.com/questions/1645204/how-do-i-send-receive-windows-messages-between-vb6-and-c side you will need to add support to subclass a window. Aside from better solutions that can be applied per window we'll just..
What are regular expression Balancing Groups? http://stackoverflow.com/questions/17003799/what-are-regular-expression-balancing-groups I know balancing groups are unique to .NET's regex flavor. Aside Repeated Groups First you need to know that .NET is again as..
ComboBox SelectedItem vs SelectedValue http://stackoverflow.com/questions/2883481/combobox-selecteditem-vs-selectedvalue or an outright explanation would be equally appreciated. Aside for my purposes I ended up binding to both SelectedItem and..
What does Expression.Quote() do that Expression.Constant() can?™t already do? http://stackoverflow.com/questions/3716492/what-does-expression-quote-do-that-expression-constant-cant-already-do 'System.Int32' is not defined exception on the invocation. Aside I've just reviewed the code generator for delegate creation..
C#'s edge over VB [closed] http://stackoverflow.com/questions/380274/cs-edge-over-vb the same however there are some minor differences. Aside from the obvious grammar differences you have the following..
What's the best way to ensure a base class's static constructor is called? http://stackoverflow.com/questions/4652454/whats-the-best-way-to-ensure-a-base-classs-static-constructor-is-called .Name is null and the code above outputs the empty string. Aside from creating some dummy member like a static Initialize method..
Why does (does it really?) List<T> implement all these interfaces, not just IList<T>? http://stackoverflow.com/questions/4817369/why-does-does-it-really-listt-implement-all-these-interfaces-not-just-ilis to force developers to remove redundant information. Aside from being easier to read and understand is there any technical..
Does using public readonly fields for immutable structs work? http://stackoverflow.com/questions/6063212/does-using-public-readonly-fields-for-immutable-structs-work x public readonly immutableClass y Constructor and stuff Aside I understand that using Properties is more generalizable and..
Migrating a project from C# to Java http://stackoverflow.com/questions/740625/migrating-a-project-from-c-sharp-to-java existing .NET project written in C# into the Java world. Aside from the obvious problem of starting completely from scratch..
Which is better, return value or out parameter? http://stackoverflow.com/questions/810797/which-is-better-return-value-or-out-parameter a void method with an out parameter if I had the choice. Aside from anything else it stops the caller from having to declare..
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? [closed] http://stackoverflow.com/questions/84340/why-learn-perl-python-ruby-if-the-company-is-using-c-c-sharp-or-java-as-the employer to finance the learning of a dynamic language. Aside from the obvious that the employee will have broader view the..
Get installed applications in a system http://stackoverflow.com/questions/908850/get-installed-applications-in-a-system to give a comprehensive list of installed applications. Aside from the example below you can find a version using Linq here..
|