¡@

Home 

c# Programming Glossary: marc's

ReverseString, a C# interview-question

http://stackoverflow.com/questions/1009689/reversestring-a-c-sharp-interview-question

isn't the same as reversing a sequence of chars. I like Marc's optimisation for null empty and single character inputs. In.. is usually king and it doesn't get much better than Marc's answer on that front. In particular there's no room for an off..

BindingList<T>.Sort() to behave like a List<T>.Sort()

http://stackoverflow.com/questions/1063917/bindinglistt-sort-to-behave-like-a-listt-sort

Many thanks. EDIT This is the final code based on Marc's response for future reference. summary Sorts using the default..

Is there a faster way than this to find all the files in a directory and all sub directories?

http://stackoverflow.com/questions/2106877/is-there-a-faster-way-than-this-to-find-all-the-files-in-a-directory-and-all-sub

00 00.0312494 03 48.0737459 . . .so looks like Marc's is the fastest. c# .net file io folders share improve this..

How to get the type of T from a generic List<T>

http://stackoverflow.com/questions/557340/how-to-get-the-type-of-t-from-a-generic-listt

Why was IEnumerable<T> made covariant in C# 4?

http://stackoverflow.com/questions/6732299/why-was-ienumerablet-made-covariant-in-c-sharp-4

language design covariance share improve this question Marc's and CodeInChaos's answers are pretty good but just to add a..

DataGridView bound to a Dictionary

http://stackoverflow.com/questions/854953/datagridview-bound-to-a-dictionary

I cannot find a way to display the data on my Form. Update Marc's suggestion below works very nicely but I'm still not sure how..

How to programmatically modify WCF app.config endpoint address setting?

http://stackoverflow.com/questions/966323/how-to-programmatically-modify-wcf-app-config-endpoint-address-setting

is the active configuration build type EDIT Please see Marc's answer for a detailed explanation on how to do this programmatically...