c# Programming Glossary: preserved
Excel interop: _Worksheet or Worksheet? http://stackoverflow.com/questions/1051464/excel-interop-worksheet-or-worksheet translated into metadata those relationships are sadly preserved. It would have been nicer to have a hand generated PIA that..
Catch vs Catch (Exception e) and Throw vs Throw e http://stackoverflow.com/questions/10805987/catch-vs-catch-exception-e-and-throw-vs-throw-e stacktrace. When you use throw the original stacktrace is preserved. This is good because it means that the cause of the error is..
Is the sorting algorithm used by .NET's `Array.Sort()` method a stable algorithm? http://stackoverflow.com/questions/148074/is-the-sorting-algorithm-used-by-nets-array-sort-method-a-stable-algorithm that is if two elements are equal their order might not be preserved. In contrast a stable sort preserves the order of elements that..
When to use ref vs out http://stackoverflow.com/questions/1516876/when-to-use-ref-vs-out call whether the initial value is relevant and potentially preserved or thrown away. As a minor difference an out parameter needs..
Why is an “await Task.Yield()” required for Thread.CurrentPrincipal to flow correctly? http://stackoverflow.com/questions/16653308/why-is-an-await-task-yield-required-for-thread-currentprincipal-to-flow-corr In this case you're not seeing Thread.CurrentPrincipal preserved from AuthenticateAsync to GetAsync what is actually happening.. to GetAsync what is actually happening is HttpContext is preserved and then HttpContext.User is overwriting Thread.CurrentPrincipal..
Difference between Covariance & Contra-variance http://stackoverflow.com/questions/2184551/difference-between-covariance-contra-variance Backwards IC Fruit IC Fruit That is the mapping T IC T has preserved the existence but reversed the direction of assignment compatibility...
Throwing Exceptions best practices http://stackoverflow.com/questions/22623/throwing-exceptions-best-practices the Exception object's InnerException and stack trace are preserved. Is there a difference between the following code blocks in..
How do I split a string by strings and include the delimiters using .NET? http://stackoverflow.com/questions/2484919/how-do-i-split-a-string-by-strings-and-include-the-delimiters-using-net from the pattern using just xx yy the delimiters are not preserved. Be sure to use Regex.Escape on the pattern if you use any metacharacters..
Regex split string but keep separators http://stackoverflow.com/questions/2910536/regex-split-string-but-keep-separators to write the regex so that the separators themselves are preserved c# regex split share improve this question Use zero length..
using static Regex.IsMatch vs creating an instance of Regex http://stackoverflow.com/questions/414328/using-static-regex-ismatch-vs-creating-an-instance-of-regex of reversing myself on this answer. My original answer preserved below was based on an examination of version 1.1 of the .NET..
c# covariant return types utilizing generics http://stackoverflow.com/questions/4348760/c-sharp-covariant-return-types-utilizing-generics with Animal then the transformation under the map is also preserved IEnumerable Tiger is assignment compatible with IEnumerable..
Remove trailing zeros? http://stackoverflow.com/questions/4525854/remove-trailing-zeros fixed point notation is always used and trailing zeros are preserved Update Konrad pointed out in the comments Watch out for values..
Regex split string preserving quotes http://stackoverflow.com/questions/4780728/regex-split-string-preserving-quotes as the delimiter. But any space within a quote should be preserved. research library not available author Bernard Shaw to research..
Difference between covariance and upcasting http://stackoverflow.com/questions/6707619/difference-between-covariance-and-upcasting from Base . The direction of assignment compatibility is preserved and this is why we say that IEnumerable T is covariant in its..
Plus sign in query string http://stackoverflow.com/questions/6855624/plus-sign-in-query-string makes URL encoding clear. So if you want the sign to be preserved when a JavaScript is fetching a URL with signs in its query..
Is there a difference between “throw” and “throw ex”? http://stackoverflow.com/questions/730250/is-there-a-difference-between-throw-and-throw-ex
How to format a number as percentage without the percentage sign? http://stackoverflow.com/questions/939132/how-to-format-a-number-as-percentage-without-the-percentage-sign
What is a message boundary? http://stackoverflow.com/questions/9563563/what-is-a-message-boundary you send FOO and then BAR over TCP no message boundary is preserved. The other end might get FOO and then BAR . Or it might get..
|