c# Programming Glossary: interestingly
Can you access UI elements from another thread? (get not set) http://stackoverflow.com/questions/10450750/can-you-access-ui-elements-from-another-thread-get-not-set read the Text property without using Invoke BeginInvoke . Interestingly enough it seems that also setting the property works fine without..
Performance difference for control structures 'for' and 'foreach' in C# http://stackoverflow.com/questions/1124753/performance-difference-for-control-structures-for-and-foreach-in-c-sharp IL_0006 IL_001a ret end of method Test IterateOverArray Interestingly I can't find this documented in the C# 3 spec anywhere... share..
C# WebClient - View source question http://stackoverflow.com/questions/1471062/c-sharp-webclient-view-source-question I do actually see the text within HTML that I want to see. Interestingly when I view the source for the whole page I do not see the text..
interesting OutOfMemoryException with StringBuilder http://stackoverflow.com/questions/1769447/interesting-outofmemoryexception-with-stringbuilder get a OutOfMemeoryExcpetion within StringBuilder.Append . Interestingly this exception does not result in a crash. I can catch that..
Single-assembly multi-language Windows Forms deployment (ILMerge and satellite assemblies / localization) - possible? http://stackoverflow.com/questions/1952638/single-assembly-multi-language-windows-forms-deployment-ilmerge-and-satellite-a resources that were compiled into the main assembly. Interestingly if I take my merged executable assembly and place copies of..
BackgroundWorker RunWorkerCompleted Event http://stackoverflow.com/questions/2806814/backgroundworker-runworkercompleted-event unless you're using a custom SynchronizationContext . Interestingly this doesn't seem to be all that well documented on MSDN. The..
Under what circumstances is an SqlConnection automatically enlisted in an ambient TransactionScope Transaction? http://stackoverflow.com/questions/2884863/under-what-circumstances-is-an-sqlconnection-automatically-enlisted-in-an-ambien transaction scope which does not cause it to increase. Interestingly if you then go on to create another nested transaction scope..
C# USING keyword - when and when not to use it? http://stackoverflow.com/questions/317184/c-sharp-using-keyword-when-and-when-not-to-use-it wants extra memory there is no need to run a GC cycle. Interestingly perhaps there are some cases where using is a pain when the..
Convert XSD into SQL relational tables http://stackoverflow.com/questions/403420/convert-xsd-into-sql-relational-tables from an XSD file. XML Spy will cost you some money though. Interestingly enough a developer used a really clever trick of using an XSLT..
Which parts of C# .NET framework are actually parts of the language? http://stackoverflow.com/questions/4836141/which-parts-of-c-sharp-net-framework-are-actually-parts-of-the-language EDIT I read this Lippert blog post it's kind of related. Interestingly foreach construct doesn't actually require IEnumerable interface..
Why doesn't .NET/C# optimize for tail-call recursion? http://stackoverflow.com/questions/491376/why-doesnt-net-c-optimize-for-tail-call-recursion the long term with a standard Ahead of Time compilation. Interestingly the ngen compilation steps are not targeted to being more aggressive..
How can I default a parameter to Guid.Empty in C#? http://stackoverflow.com/questions/5117970/how-can-i-default-a-parameter-to-guid-empty-in-c knows it's really just the default value for the type Interestingly I'm 99.9 sure it won't call any custom new Foo constructor you..
Pure functions in C# http://stackoverflow.com/questions/592934/pure-functions-in-c-sharp do not believe it's compiler enforced. Mutability is gone. Interestingly where Microsoft was using Mutability and Pure attributes in..
Is it appropriate to extend Control to provide consistently safe Invoke/BeginInvoke functionality? http://stackoverflow.com/questions/714666/is-it-appropriate-to-extend-control-to-provide-consistently-safe-invoke-begininv techniques first of course e.g. BackgroundWorker. Interestingly this won't work for ToolStripItems . I just recently discovered..
Large WCF web service request failing with (400) HTTP Bad Request http://stackoverflow.com/questions/784606/large-wcf-web-service-request-failing-with-400-http-bad-request web service with 500 items I get the Bad Request error. Interestingly I've run Wireshark on the server and it appears that the request..
Prism assembly reference failure: System.Windows.Interactivity http://stackoverflow.com/questions/9650778/prism-assembly-reference-failure-system-windows-interactivity System.Windows.Interactivity.EXE. Interestingly if I look at my built project using the IL disassembler ildasm.exe..
Can't instantiate a COM object written in C# from VBA (VB6 ok) http://stackoverflow.com/questions/375457/cant-instantiate-a-com-object-written-in-c-sharp-from-vba-vb6-ok from VBA to try to forcibly load the CLR interestingly I get the exact same HRESULT 0x80131700 as when I do CreateObject..
Use OpenOffice Uno CLI with C# to create a spreadsheet http://stackoverflow.com/questions/4743738/use-openoffice-uno-cli-with-c-sharp-to-create-a-spreadsheet in .Net and How to create .odt files with C#.NET And most interestingly an explanation for opening calc files . However this opens OpenOffice..
How do I make a WinForms app go Full Screen http://stackoverflow.com/questions/505167/how-do-i-make-a-winforms-app-go-full-screen this.WindowState FormWindowState.Maximized But interestingly if you swap those last two lines the Taskbar remains visible...
The call stack does not say “where you came from”, but “where you are going next”? http://stackoverflow.com/questions/6595473/the-call-stack-does-not-say-where-you-came-from-but-where-you-are-going-next because the return address is nowhere near the data. More interestingly there is no requirement that there be any stack at all We use..
Conditional styles: if (0 == resultIndex) vs if (resultIndex ==0) [duplicate] http://stackoverflow.com/questions/892284/conditional-styles-if-0-resultindex-vs-if-resultindex-0 across someone writing them like if 0 resultIndex ...and interestingly those people have been authors and seemingly pretty hot coders...
Unable to read cookies in FireFox/Chrome via 302 redirect, but works in IE http://stackoverflow.com/questions/9188837/unable-to-read-cookies-in-firefox-chrome-via-302-redirect-but-works-in-ie help suggestions will be very helpful. Update Also quite interestingly if steps 1 and 3 are performed leaving out step 2 the cookie..
ASP.NET web app calling Delphi DLL on IIS webserver, locks up when returning PChar string http://stackoverflow.com/questions/9322938/asp-net-web-app-calling-delphi-dll-on-iis-webserver-locks-up-when-returning-pch for the memory allocation it all just works. @NoPyGod interestingly points out that this code fails with a runtime error. Having..
What is quicker, switch on string or elseif on type? http://stackoverflow.com/questions/94305/what-is-quicker-switch-on-string-or-elseif-on-type results are great for the exact scenario he covered but interestingly the relative costs of the different methods change dramatically..
|