¡@

Home 

c# Programming Glossary: considering

How do I delete a file which is locked by another process in C#?

http://stackoverflow.com/questions/1040/how-do-i-delete-a-file-which-is-locked-by-another-process-in-c

delete a file in use by another process I'd recommend re considering the actual problem before considering any solutions. share..

Event Signature in .NET — Using a Strong Typed 'Sender'?

http://stackoverflow.com/questions/1046016/event-signature-in-net-using-a-strong-typed-sender

event EventHandler PublisherEventArgs SomeEvent I am considering using an event signature that utilizes a strong typed 'sender'..

confused with the scope in c#

http://stackoverflow.com/questions/1196941/confused-with-the-scope-in-c-sharp

things throughout the same block. Now you might note that considering all of block 1 x is used to mean both x2 and x4. But there's..

TransactionScope automatically escalating to MSDTC on some machines?

http://stackoverflow.com/questions/1690892/transactionscope-automatically-escalating-to-msdtc-on-some-machines

It's really got me scratching my head and has me seriously considering rolling back to a home spun TransactionScope like solution based..

String was not recognized as a valid DateTime “ format dd/MM/yyyy”

http://stackoverflow.com/questions/2193012/string-was-not-recognized-as-a-valid-datetime-format-dd-mm-yyyy

are valid by using maskTextbox. Which answer is better considering all aspects like type saftey performance or something you feel..

What is the best way to store user settings for a .NET application?

http://stackoverflow.com/questions/26369/what-is-the-best-way-to-store-user-settings-for-a-net-application

Where is the best place the store user settings considering Windows guidelines Some people pointed to Application.LocalUserAppDataPath..

What requirement was the tuple designed to solve?

http://stackoverflow.com/questions/3089706/what-requirement-was-the-tuple-designed-to-solve

framework class there's nothing special about them. We are considering adding better support for tuples in hypothetical future versions..

Overlapping matches in Regex

http://stackoverflow.com/questions/320448/overlapping-matches-in-regex

and parsing this manually seems like an awful lot of code considering that in reality the matches would have to be done using a pattern..

Why are C# 3.0 object initializer constructor parentheses optional?

http://stackoverflow.com/questions/3661025/why-are-c-sharp-3-0-object-initializer-constructor-parentheses-optional

in C# for determining when a dotted name is expected. When considering a new feature how do you determine whether it causes any ambiguity..

Is it possible to programmatically generate an X509 certificate using only C#?

http://stackoverflow.com/questions/3770233/is-it-possible-to-programmatically-generate-an-x509-certificate-using-only-c

key I'm quite surprised that the following part even works considering you're calling it on a certificate which can't possibly know..

Inline functions in C#?

http://stackoverflow.com/questions/473782/inline-functions-in-c

The method should be inlined if possible. Especially considering Mono which is open there are some mono specific technical limitations.. is open there are some mono specific technical limitations considering inlining or more general one like virtual functions . Overall..

Should we select VB.NET or C# when upgrading our legacy applications? [closed]

http://stackoverflow.com/questions/507291/should-we-select-vb-net-or-c-sharp-when-upgrading-our-legacy-applications

reusability testability and extensibility. I am therefore considering a move away from VB 6.0 and into .NET. That leaves me with a..

Difference between Property and Field in C# 3.0+

http://stackoverflow.com/questions/653536/difference-between-property-and-field-in-c-sharp-3-0

a property like this public string MyString get set considering that the compiler does something like creating the private field..

When should I use double instead of decimal?

http://stackoverflow.com/questions/803225/when-should-i-use-double-instead-of-decimal

for arbitrary real numbers. The simple conclusion is when considering which to use always use double unless you need the base 10 accuracy..

How to detect a process start & end using c# in windows?

http://stackoverflow.com/questions/8455873/how-to-detect-a-process-start-end-using-c-sharp-in-windows

service app etc. so please provide your answer just considering me as a beginner. in the part of c# i am able to understand..

How to write a scalable Tcp/Ip based server

http://stackoverflow.com/questions/869744/how-to-write-a-scalable-tcp-ip-based-server

to need to start at least one thread for the service. I am considering using the Asynch API BeginRecieve etc.. since I don't know how..

How can I ensure that a division of integers is always rounded up?

http://stackoverflow.com/questions/921180/how-can-i-ensure-that-a-division-of-integers-is-always-rounded-up

a flaw is found changing the code to fix the flaw without considering whether the fix breaks something else is not a good problem..

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

costs of the different methods change dramatically when considering a number of different factors including the number of types..

Shredding files in .NET

http://stackoverflow.com/questions/1046635/shredding-files-in-net

original state after one rewrite with a 56 success rate. Considering you have a 50 success rate with pure random guessing I don't..

Replace parameter in lambda expression

http://stackoverflow.com/questions/11159697/replace-parameter-in-lambda-expression

parameter in lambda expression Considering this code public class Foo public int a get set public int b..

Setting the User-Agent header for a WebClient request

http://stackoverflow.com/questions/11841540/setting-the-user-agent-header-for-a-webclient-request

found 2 options but not sure which one is the correct one. Considering a WebClient object WebClient client new WebClient I saw 2 options..

When should I define a (explicit or implicit) conversion operator in C#?

http://stackoverflow.com/questions/12126907/when-should-i-define-a-explicit-or-implicit-conversion-operator-in-c

your heavy math trig or internal usage might use Radians . Considering the following classes print function public class MyRadiansShape..

How to get the source file name and the line number of a type member?

http://stackoverflow.com/questions/126094/how-to-get-the-source-file-name-and-the-line-number-of-a-type-member

the source file name and the line number of a type member Considering that the debug data file is available PDB and by using either..

How do I get the list of open file handles by process in C#?

http://stackoverflow.com/questions/177146/how-do-i-get-the-list-of-open-file-handles-by-process-in-c

explorer does. Most likely this will require interop. Considering adding a bounty on this the implementation is nasty complicated...

The need for volatile modifier in double checked locking in .NET

http://stackoverflow.com/questions/1964731/the-need-for-volatile-modifier-in-double-checked-locking-in-net

on should have volatile modifier applied. But why exactly Considering the following example public sealed class Singleton private..

reference assignment is atomic so why is Interlocked.Exchange(ref Object, Object) needed?

http://stackoverflow.com/questions/2192124/reference-assignment-is-atomic-so-why-is-interlocked-exchangeref-object-object

improve this question There are numerous questions here. Considering them one at a time reference assignment is atomic so why is..

Deferred execution and eager evaluation

http://stackoverflow.com/questions/2515796/deferred-execution-and-eager-evaluation

using the yield keyword and most of linq use it currently Considering a function int Computation int index Immediate execution IEnumerable..

Webdriver: File Upload

http://stackoverflow.com/questions/3300580/webdriver-file-upload

can set the value of your input field using JavaScript. Considering that the id of the field is fileName the following example will..

Is it possible to programmatically generate an X509 certificate using only C#?

http://stackoverflow.com/questions/3770233/is-it-possible-to-programmatically-generate-an-x509-certificate-using-only-c

newCert is built from the certificate only. Considering that the PKCS#12 format requires the presence of a private key..

How do I generate a Friendly URL in C#?

http://stackoverflow.com/questions/37809/how-do-i-generate-a-friendly-url-in-c

later remove trailing dash if there is one Twice the work. Considering that each operation creates a whole new string this is bad even..

Why does the lock object have to be static?

http://stackoverflow.com/questions/5053172/why-does-the-lock-object-have-to-be-static

or non static locker on this and both would work fine. Considering the answer below I should be rather defining my locker like..

How to find all possible subsets of a given array?

http://stackoverflow.com/questions/679203/how-to-find-all-possible-subsets-of-a-given-array

by now. c# c algorithm share improve this question Considering a set S of N elements and a given subset each element either..

How does compiler optimize virtual methods implemented by a sealed class

http://stackoverflow.com/questions/770547/how-does-compiler-optimize-virtual-methods-implemented-by-a-sealed-class

I've seen and tried indicates this is not the case. Considering even fully static C compilers can't do this for trivial situations..

how to write super fast file streaming code in C#?

http://stackoverflow.com/questions/955911/how-to-write-super-fast-file-streaming-code-in-c

BinaryWriter File.OpenWrite dstFile writer.Write buffer Considering that I have to call this function about 100 000 times it is..