¡@

Home 

c# Programming Glossary: upon

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

the MoveFileEx API function to mark the file for deletion upon next reboot. If it appears that you really need to delete a..

How can a Word document be created in C#? [closed]

http://stackoverflow.com/questions/10412/how-can-a-word-document-be-created-in-c

this question The answer is going to depend slightly upon if the application is running on a server or if it is running.. The best way to go about things will all depend sightly upon how much time you have to invest in development. If you go the..

What is “Best Practice” For Comparing Two Instances of a Reference Type?

http://stackoverflow.com/questions/104158/what-is-best-practice-for-comparing-two-instances-of-a-reference-type

the same pointer comparisons. These are usually relied upon for for instance inserting an element into a list where no duplicates..

Set focus on textbox in WPF from view model (C#) & wPF

http://stackoverflow.com/questions/1356045/set-focus-on-textbox-in-wpf-from-view-model-c-wpf

and a Button in my view. Now I am checking a condition upon button click and if the condition turns out to be false displaying..

Maximum number of threads in a .NET app?

http://stackoverflow.com/questions/145312/maximum-number-of-threads-in-a-net-app

How to decide between MonoTouch and Objective-C?

http://stackoverflow.com/questions/1583856/how-to-decide-between-monotouch-and-objective-c

at a local .Net event the use of MonoTouch was 'touched' upon as an alternative for iPhone development. Being very comfortable..

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

then you get a helpful error message upon attempting to enlist the connection in the new transaction scope..

Deserialize JSON into C# dynamic object?

http://stackoverflow.com/questions/3142495/deserialize-json-into-c-sharp-dynamic-object

EDIT 2 If you are happy to have a dependency upon the System.Web.Helpers assembly then as Vlad points out you..

How to use __doPostBack()

http://stackoverflow.com/questions/3591634/how-to-use-dopostback

add something like this to read the value and operate upon it public void Page_Load object sender EventArgs e string parameter..

PInvoke for C function that returns char *

http://stackoverflow.com/questions/370079/pinvoke-for-c-function-that-returns-char

Model-View-Presenter in WinForms

http://stackoverflow.com/questions/4794121/model-view-presenter-in-winforms

layer. In my program I have a GUI button that when clicked upon opens a openfiledialog window. So using MVP the GUI handles..

Serialize Class containing Dictionary member

http://stackoverflow.com/questions/495647/serialize-class-containing-dictionary-member

Class containing Dictionary member Expanding upon my earlier problem I've decided to de serialize my config file..

How would you count occurrences of a string within a string?

http://stackoverflow.com/questions/541954/how-would-you-count-occurrences-of-a-string-within-a-string

moment I'm going with something like string source once upon a time int count source.Length source.Replace .Length But I.. Of course for strings where length 1 string haystack once upon a time string needle int needleCount haystack.Length source.Replace.. either of these I've just done a quick benchmark with once upon a time and the results are as follows Your original 12s source.Count..

How to elevate privileges only when required?

http://stackoverflow.com/questions/573086/how-to-elevate-privileges-only-when-required

Vista that administrator privileges are given to a process upon startup as I understand. If you look at various programs that..

Can I set up HTML/Email Templates with ASP.NET?

http://stackoverflow.com/questions/620265/can-i-set-up-html-email-templates-with-asp-net

There are a tons of answers already here but I stumbled upon a greate article about how to use Razor with email templating...

If strings are immutable in .NET, then why does Substring take O(n) time?

http://stackoverflow.com/questions/6742923/if-strings-are-immutable-in-net-then-why-does-substring-take-on-time

data and the existing lexical and syntactic analyses upon a typical edit. This was a hard problem to solve and its solution..

Programming P2P application

http://stackoverflow.com/questions/8523330/programming-p2p-application

port pairs collected in steps 1 and 2. The remote client upon receiving the invite to connect performs step 1 and 2 above..

C#: Test if string is a guid without throwing exceptions?

http://stackoverflow.com/questions/104850/c-test-if-string-is-a-guid-without-throwing-exceptions

name s The string to try to convert param param name value Upon return will contain the Guid param returns Returns true if successful..

C# loading a XML file

http://stackoverflow.com/questions/14141268/c-sharp-loading-a-xml-file

45 Width Size Location X 14 X Y 24 Y Location Button Form Upon loading the form I need to show the form and the button on it..

Does .NET FTPWebRequest Support both Implicit (FTPS) and explicit (FTPES)?

http://stackoverflow.com/questions/1842186/does-net-ftpwebrequest-support-both-implicit-ftps-and-explicit-ftpes

was originally assigned a separate port by the IANA. Upon connection to this port an SSL negotiation starts immediately..

Why do I get “error: … must be a reference type” in my C# generic method?

http://stackoverflow.com/questions/1992443/why-do-i-get-error-must-be-a-reference-type-in-my-c-sharp-generic-method

table properties row.Property row.Value return properties Upon compiling I get Error 1 The type 'T' must be a reference type..

A super-simple MVVM-Light WP7 sample?

http://stackoverflow.com/questions/3655422/a-super-simple-mvvm-light-wp7-sample

Int32 TIMER_INTERVAL 5000 5 seconds private Timer _timer Upon creation create a timer that changes the value every 5 seconds..

How to merge two lists using LINQ?

http://stackoverflow.com/questions/4872943/how-to-merge-two-lists-using-linq

merged next merged.Merge next .ToList EDIT Upon re reading just realized that a concatenation is required since..

How do you pass an object from form1 to form2 and back to form1?

http://stackoverflow.com/questions/4887820/how-do-you-pass-an-object-from-form1-to-form2-and-back-to-form1

object in your second form and modify it as needed there. Upon completion of your second form your first form will have that..

LINQ InsertOnSubmit: NullReferenceException

http://stackoverflow.com/questions/499436/linq-insertonsubmit-nullreferenceexception

layer public class IP DC.IP public IP string address ... Upon attempting to InsertOnSubmit ip I get a NullReferenceException..

Is using Thread.Abort() and handling ThreadAbortException in .NET safe practice?

http://stackoverflow.com/questions/6382997/is-using-thread-abort-and-handling-threadabortexception-in-net-safe-practice

not my code I'll call a COM object to do actual work . Upon role shutdown I need to gracefully stop processing. How do I..

DataGridViewComboBoxCell Binding - “value is not valid”

http://stackoverflow.com/questions/654829/datagridviewcomboboxcell-binding-value-is-not-valid

to an IList ICustomInterface from a Dictionary I've got. Upon setting the data source however the index for the ComboBoxCell..

c# inheriting generic collection and serialization

http://stackoverflow.com/questions/666054/c-sharp-inheriting-generic-collection-and-serialization

f File.Create fileName serializer.Serialize f items Upon looking at the resulting XML I see that the ItemCollection.Name..

Adding parameters in SQLite with C#

http://stackoverflow.com/questions/809246/adding-parameters-in-sqlite-with-c-sharp

this.command.ExecuteNonQuery I get a SQLite Exception. Upon inspecting the CommandText I discover that whatever I'm doing..

C# optional parameters on overridden methods

http://stackoverflow.com/questions/8909811/c-sharp-optional-parameters-on-overridden-methods

reading the question it seemed to me that Mono had a bug. Upon consideration I can't see how either fulfils the specified behaviour..

Is an Application Associated With a Given Extension?

http://stackoverflow.com/questions/9540051/is-an-application-associated-with-a-given-extension

nice error code SE_ERR_NOASSOC if there is no association. Upon success it gives a path to the respective executable. Thee DllImport..