¡@

Home 

c# Programming Glossary: performing

new keyword in method signature

http://stackoverflow.com/questions/1014295/new-keyword-in-method-signature

keyword in method signature While performing a refactoring I ended up creating a method like the example..

LINQ query on a DataTable

http://stackoverflow.com/questions/10855/linq-query-on-a-datatable

on a DataTable object and bizarrely I am finding that performing such queries on DataTables is not straightforward. For example..

Is double Multiplication Broken in .NET?

http://stackoverflow.com/questions/1420752/is-double-multiplication-broken-in-net

and how data is stored. In fact your code isn't actually performing any arithmetic at execution time in this particular case the..

Is there a way to indefinitely pause a thread?

http://stackoverflow.com/questions/142826/is-there-a-way-to-indefinitely-pause-a-thread

use a ManualResetEvent . The thread is most likely looping performing some work. The easiest way to suspend the thread is to have..

switch / pattern matching idea

http://stackoverflow.com/questions/156467/switch-pattern-matching-idea

show a match like the above using the Expression form performing at the same speed marginally quicker in fact compared to the..

What's the best way of implementing a thread-safe Dictionary?

http://stackoverflow.com/questions/157933/whats-the-best-way-of-implementing-a-thread-safe-dictionary

way to approach that would be to provide some methods for performing an action on all members and lock around the enumerating of..

When should I use a List vs a LinkedList

http://stackoverflow.com/questions/169973/when-should-i-use-a-list-vs-a-linkedlist

I say never use a linkedList. Here is another comparison performing a lot of inserts we plan on inserting an item at the middle..

Why is the C# “as” operator so popular? [closed]

http://stackoverflow.com/questions/2139798/why-is-the-c-sharp-as-operator-so-popular

not sure you can use as but need to check for null before performing some operation. All that the above code does is to turn a useful.. and a castclass instruction for the cast effectively performing the cast twice you should use var v x as SomeType if v null..

How to deal with XML in C#

http://stackoverflow.com/questions/220867/how-to-deal-with-xml-in-c-sharp

tasks. The difference however is you have the advantage of performing Linq Queries to select the exact data you need. With the addition..

Convert RGB color to CMYK?

http://stackoverflow.com/questions/2426432/convert-rgb-color-to-cmyk

an algorithm to convert an RGB color to CMYK. Photoshop is performing the conversion below R 220 G 233 B 174 C 15 M 0 Y 40 K 0 c#..

Tips for optimizing C#/.NET programs [closed]

http://stackoverflow.com/questions/2473666/tips-for-optimizing-c-net-programs

the heck out of what the profiler identifies as the worst performing subsystem. Keep profiling on every change so that you clearly..

ShellExecute equivalent in .NET

http://stackoverflow.com/questions/258416/shellexecute-equivalent-in-net

in .NET I'm looking for the .NET preferred way of performing the same type of thing that ShellExecute does in Win32 opening..

How do I create a custom membership provider for ASP.NET MVC 2?

http://stackoverflow.com/questions/2771094/how-do-i-create-a-custom-membership-provider-for-asp-net-mvc-2

AuthorizationContext filterContext IMPORTANT Since we're performing authorization at the action level the authorization code runs..

Get the property, as a string, from an Expression<Func<TModel,TProperty>>

http://stackoverflow.com/questions/2789504/get-the-property-as-a-string-from-an-expressionfunctmodel-tproperty

we can do something better than doing a ToString and performing string parsing. So what's a good way to do this to handle the..

C# 'is' operator performance

http://stackoverflow.com/questions/686412/c-sharp-is-operator-performance

among the answers Andrew's point about 'is' automatically performing a cast is essential but the performance data gathered by Binary..

Deep cloning objects in C#

http://stackoverflow.com/questions/78536/deep-cloning-objects-in-c-sharp

KB tips SerializedObjectCloner.aspx Provides a method for performing a deep copy of an object. Binary Serialization is used to perform..

When should I use double instead of decimal?

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

depends greatly on the context how many operations you're performing whether these errors are significant enough to warrant much..

byte + byte = int… why?

http://stackoverflow.com/questions/941584/byte-byte-int-why

byte byte byte short short short A bit of background I am performing a long list of calculations on small numbers i.e. 8 and storing..

Redirecting unauthorized controller in ASP.NET MVC

http://stackoverflow.com/questions/977071/redirecting-unauthorized-controller-in-asp-net-mvc

filterContext IMPORTANT Since we're performing authorization at the action level the authorization code runs..