c# Programming Glossary: caveat
Add Header and Footer to an existing empty word document with OpenXML SDK 2.0 http://stackoverflow.com/questions/11672991/add-header-and-footer-to-an-existing-empty-word-document-with-openxml-sdk-2-0 en us download details.aspx id 5124 The only caveat to this is that it assumes the document already some content..
Capturing console output from a .NET application (C#) http://stackoverflow.com/questions/186822/capturing-console-output-from-a-net-application-c is contained in the linked MSDN documentation the only caveat is that you may have to redirect the standard error stream as..
Trying to do Office Automation with Excel 2007, but keeps using Excel 2003 http://stackoverflow.com/questions/2239472/trying-to-do-office-automation-with-excel-2007-but-keeps-using-excel-2003 2007 PIA would run if both PIAs were available. Edit One caveat is that the Excel 2007 PIAs should be 100 backward compatible..
Anonymous method in Invoke call http://stackoverflow.com/questions/253138/anonymous-method-in-invoke-call Hi control.Invoke MethodInvoker delegate this.Text message caveat you need to be a bit cautious if using captures async but sync..
When to use closure? [closed] http://stackoverflow.com/questions/256625/when-to-use-closure read write fields not private readonly . The biggest caveat with C# captures is to watch the scope for example for int i..
Changing master volume level http://stackoverflow.com/questions/294292/changing-master-volume-level attention to know if these field sizes expand to 64 bits. caveat codor EDIT For the sake of simplicity relatively speaking I've..
How do I set Network Management settings or make the dialog appear in C# on Windows Mobile? http://stackoverflow.com/questions/300607/how-do-i-set-network-management-settings-or-make-the-dialog-appear-in-c-sharp-on listed there for use with the connection manager apis. One caveat is that I haven't tried to use these connections after messing..
How do I filter all HTML tags except a certain whitelist? http://stackoverflow.com/questions/307013/how-do-i-filter-all-html-tags-except-a-certain-whitelist html WhiteListPattern RegExOptions.Compiled The caveat is that the HREF attribute of A tags still gets scrubbed which..
Emulate waiting on File.Open in C# when file is locked http://stackoverflow.com/questions/3138483/emulate-waiting-on-file-open-in-c-sharp-when-file-is-locked part of .NET I might use to do what I want Oh one final caveat and it's a doozy I'm limited to using Visual Studio 2005 and..
Is developing in Mono cross-platform? http://stackoverflow.com/questions/3429451/is-developing-in-mono-cross-platform Developing in Mono is definitely cross platform with a caveat emptor Strive to steer clear of Windows specific APIs No interoperability..
Asp Composite control child control (radiobutton) losing checked value http://stackoverflow.com/questions/3854193/asp-composite-control-child-control-radiobutton-losing-checked-value to see why your code isn't quite what you need. A quick caveat One last thing LoadPostData is only called if the posted form..
C# .Equals(), .ReferenceEquals() and == operator http://stackoverflow.com/questions/3869601/c-sharp-equals-referenceequals-and-operator all three operations will work equivalentally but with a caveat Equals cannot be invoked on null . Equals is an instance method..
System.Drawing in Windows or ASP.NET services http://stackoverflow.com/questions/390532/system-drawing-in-windows-or-asp-net-services extreme load a lot of folks have disregarded the MSDN caveat and used System.Drawing with success. A few of them have been..
Draw Custom Buttons on Windows Vista/7 Aero Titlebar http://stackoverflow.com/questions/4117874/draw-custom-buttons-on-windows-vista-7-aero-titlebar do your theme colours etcetera by all means. There's one caveat to this though there's another StackOverflow thread http stackoverflow.com..
Subscribe to INotifyPropertyChanged for nested (child) objects http://stackoverflow.com/questions/4143179/subscribe-to-inotifypropertychanged-for-nested-child-objects else it wouldn't work as desired this is a known caveat Use for free released under MIT License share improve this..
Extension Methods vs Static Utility Class http://stackoverflow.com/questions/4646328/extension-methods-vs-static-utility-class this is occurring so you have to be on your guard. One caveat extension methods haven't been around for long enough for best..
Show Console in Windows Application? http://stackoverflow.com/questions/472282/show-console-in-windows-application command mode. I'm posting the code to do this but with a caveat. I actually think this sort of approach will run you into a..
Merge msi and exe http://stackoverflow.com/questions/535966/merge-msi-and-exe SourceFiles0 SourceFiles0 FILE0 FILE1 There is a little caveat however with the self extracting installer scenarios. Due to..
Should you implement IDisposable.Dispose() so that it never throws? http://stackoverflow.com/questions/577607/should-you-implement-idisposable-dispose-so-that-it-never-throws scenario as it is better to raise the original Exception caveat unless perhaps the failure to cleanly dispose is itself pretty..
High performance graphics using the WPF Visual layer http://stackoverflow.com/questions/8713864/high-performance-graphics-using-the-wpf-visual-layer You literally are doing the work yourself. There is one caveat though. While WPF uses the CPU for tesselation GPU for rendering..
OpenID: Trying to Get Email Address from Google OP http://stackoverflow.com/questions/1301200/openid-trying-to-get-email-address-from-google-op registration but I can ™t determine what they do support. Caveat to this question is that I just started learning OpenID and..
Active Directory Group Membership Checking in .Net 4.5 http://stackoverflow.com/questions/13147132/active-directory-group-membership-checking-in-net-4-5 need to use System.DirectoryServices.AccountManagement . Caveat In .Net 4.5 the security principals include Claims but that's..
TransactionScope automatically escalating to MSDTC on some machines? http://stackoverflow.com/questions/1690892/transactionscope-automatically-escalating-to-msdtc-on-some-machines TransactionScope as demonstrated in the above sample code. Caveat #1 If those multiple SqlConnections are nested that is two or.. time TransactionScope will immediately escalate to DTC. Caveat #2 If an additional SqlConnection is opened to a different 'durable..
Does anyone have benchmarks (code & results) comparing performance of Android apps written in Xamarin C# and Java? http://stackoverflow.com/questions/17134522/does-anyone-have-benchmarks-code-results-comparing-performance-of-android-ap test the native code is 6 to 7 times faster than Java. Caveat could not use std regex class on Android so had to write my..
C# accessing memory map file http://stackoverflow.com/questions/216083/c-sharp-accessing-memory-map-file a wrapper around the Win32 APIs for memory mapped files. Caveat emptor 1 I have not used FileMap so I can't vouch for it 2 FileMap..
Suppressing “is never used” and “is never assigned to” warnings in C# http://stackoverflow.com/questions/3820985/suppressing-is-never-used-and-is-never-assigned-to-warnings-in-c-sharp never assigned to and will always have its default value 0 Caveat As per the comment by @Jon Hanna perhaps a few warnings is in..
Capture the screen shot using .NET [duplicate] http://stackoverflow.com/questions/5049122/capture-the-screen-shot-using-net 0 0 bmpScreenCapture.Size CopyPixelOperation.SourceCopy Caveat This method doesn't work properly for layered windows. Hans..
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 the CLR but I don't 100 know . EDIT2 Why this is bad Caveat this is my opinion The reason this is now allowed is it makes..
How to generate and validate a software license key? http://stackoverflow.com/questions/599837/how-to-generate-and-validate-a-software-license-key scenario c# license key share improve this question Caveat you can't prevent users from pirating but only make it easier..
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 then why are we not allowed variables in case statements Caveat I am post optimising. This method is called many times in a..
|