c# Programming Glossary: surprising
Why have HashSet but not Set in C#? http://stackoverflow.com/questions/1023697/why-have-hashset-but-not-set-in-c HashSet T only arrived in .NET 3.5 which in itself was surprising I suspect we may eventually get a more complete collection of..
Sending gzipped data in WebRequest? http://stackoverflow.com/questions/1183691/sending-gzipped-data-in-webrequest mod_gzip only compresses outgoing data which isn't too surprising after all. The functionality you are looking for is probably..
OR-ing bytes in C# gives int [duplicate] http://stackoverflow.com/questions/1214629/or-ing-bytes-in-c-sharp-gives-int one. For arithmetic operators especially it might be a bit surprising for people to get byte 200 byte 100 suddenly equal to 44 even..
Where are CLR-defined methods like [delegate].BeginInvoke documented? http://stackoverflow.com/questions/14961450/where-are-clr-defined-methods-like-delegate-begininvoke-documented on a ThreadPool thread instead. Apart from this slightly surprising different behaviour I wonder how I can find the specs of all..
Entering keys manually with Entity Framework http://stackoverflow.com/questions/18907411/entering-keys-manually-with-entity-framework have to copy the data and fix up foreign keys. So it's not surprising that EF isn't doing that for you. You need to work out how best..
Using reflection in C# to get properties of a nested object http://stackoverflow.com/questions/1954746/using-reflection-in-c-sharp-to-get-properties-of-a-nested-object which is more inline with PropertyInfo.GetValue so less surprising . I also would probably call it something more like GetNestedPropertyValue..
How to compare Unicode characters that “look alike”? http://stackoverflow.com/questions/20674577/how-to-compare-unicode-characters-that-look-alike characters that &ldquo look alike&rdquo I fall into a surprising issue. I loaded a text file in my application and I have some..
C# using consts in static classes http://stackoverflow.com/questions/2631975/c-sharp-using-consts-in-static-classes static members but the rest of the sentence is a bit surprising to me. Why is it that a constant declaration neither requires..
Why is Enumerable.Range faster than a direct yield loop? http://stackoverflow.com/questions/408452/why-is-enumerable-range-faster-than-a-direct-yield-loop 1301 result 987459712 time 2860 result 987459712 It is not surprising that the for loop is faster than the other two solutions because..
Why are there no lifted short-circuiting operators on `bool?`? http://stackoverflow.com/questions/5204366/why-are-there-no-lifted-short-circuiting-operators-on-bool work very similar to the DBBool example on MSDN . I see no surprising or dangerous behavior introduced by lifting these operators...
The Best Place to Start Learning C++ [closed] http://stackoverflow.com/questions/525726/the-best-place-to-start-learning-c here or on other C related websites. gamedev.net has a surprising number of good C programmers on their forums so reading those.. a lot easier if you don't lump C and c together. They are surprisingly different and finding a C tutorial or C written by a C programmer..
What's the difference between QueueUserWorkItem() and BeginInvoke(), for performing an asynchronous activity with no return types needed http://stackoverflow.com/questions/532791/whats-the-difference-between-queueuserworkitem-and-begininvoke-for-perform cbrumme archive 2003 07 14 51495.aspx says One surprising fact is that this is also why Delegate.BeginInvoke EndInvoke..
Curious null-coalescing operator custom implicit conversion behaviour http://stackoverflow.com/questions/6256847/curious-null-coalescing-operator-custom-implicit-conversion-behaviour to int The fact that Foo gets called twice here is hugely surprising to me I can't see any reason for the expression to be evaluated..
Lambda expression not returning expected MemberInfo http://stackoverflow.com/questions/6658669/lambda-expression-not-returning-expected-memberinfo but in this case I did not. The second is really the most surprising to me and is the heart of my problem . Even though the parameter..
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 but it's not something anyone seems to want to do which is surprising given it now has support for HTML5 and so many other features..
How do I use TransactionScope in C#? http://stackoverflow.com/questions/794364/how-do-i-use-transactionscope-in-c most restrictive of the isolation levels and frankly its surprising that it was chosen as the default. If you do not need this level..
Why is it impossible to override a getter-only property and add a setter? http://stackoverflow.com/questions/82437/why-is-it-impossible-to-override-a-getter-only-property-and-add-a-setter The point being ' Be Open avoid doing sneaky things and surprising people ' Update Ilya Ryzhenkov asks 'Why don't interfaces play..
Repository and Data Mapper pattern http://stackoverflow.com/questions/8844105/repository-and-data-mapper-pattern thread safe and even if it was you'd end up with some surprising and hard to debug race conditions around DB Transactions. You..
Try-catch speeding up my code? http://stackoverflow.com/questions/8928403/try-catch-speeding-up-my-code code for testing the impact of try catch but seeing some surprising results. static void Main string args Thread.CurrentThread.Priority..
Restricting a generic type parameters to have a specific constructor http://stackoverflow.com/questions/9741211/restricting-a-generic-type-parameters-to-have-a-specific-constructor constructor constraints should work without resulting in surprising behaviors. but I really must disagree. In C# well in .NET surprises..
|