¡@

Home 

c# Programming Glossary: useful

Simple 2 way encryption for C#

http://stackoverflow.com/questions/165808/simple-2-way-encryption-for-c-sharp

Two Utility Methods not used but may be useful Generates an encryption key. static public byte GenerateEncryptionKey..

TransactionScope automatically escalating to MSDTC on some machines?

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

the interest of making this question even more of a mess useful and just for more clarity's sake here's how you can get SQL2005..

Why .NET String is immutable? [duplicate]

http://stackoverflow.com/questions/2365272/why-net-string-is-immutable

never ever change though sometimes even then it can be useful in a many web and other stateless applications code doing read..

When to Use Static Classes in C#

http://stackoverflow.com/questions/241339/when-to-use-static-classes-in-c-sharp

to create an object in order to call its methods. It is useful to organize the methods inside the class in a meaningful way..

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

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

once and had no idea what to do about it so these tips are useful. My point for even posting this is to have a place for common.. to look out for. I can see though that it might be useful to also know why a tip is useful and where it should be applied... though that it might be useful to also know why a tip is useful and where it should be applied. For the StringBuilder tip I..

Randomize a List<T> in C#

http://stackoverflow.com/questions/273313/randomize-a-listt-in-c-sharp

Below is a fixed full example based on a really useful comment received today from @weston here on SO. Program.cs using..

What is the difference between a field and a property in C#?

http://stackoverflow.com/questions/295104/what-is-the-difference-between-a-field-and-a-property-in-c

Deserialize JSON into C# dynamic object?

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

ToString method that outputs the JSON string which I found useful for debugging. You can drop the two methods out if you don't..

How to get Frequency from FFT result

http://stackoverflow.com/questions/4364823/how-to-get-frequency-from-fft-result

second half of the FFT bins from N 2 1 to N 1 contain no useful additional information they have complex conjugate symmetry.. conjugate symmetry with the first N 2 1 bins . The last useful bin for practical aplications is at N 2 1 which corresponds..

How to read a text file reversely with iterator in C#

http://stackoverflow.com/questions/452902/how-to-read-a-text-file-reversely-with-iterator-in-c-sharp

access can specify a different buffer size this is useful for testing. summary private const int DefaultBufferSize 4096..

Casting vs using the 'as' keyword in the CLR

http://stackoverflow.com/questions/496096/casting-vs-using-the-as-keyword-in-the-clr

There may be other cases involving generics where is is useful because you may not know whether T is a reference type or not..

In C#, why can't a List<string> object be stored in a List<object> variable

http://stackoverflow.com/questions/6557/in-c-why-cant-a-liststring-object-be-stored-in-a-listobject-variable

is legal but that sort of cast is actually potentially useful. In this case you are going from a more general class object..

Accessing a Shared File (UNC) From a Remote, Non-Trusted Domain With Credentials

http://stackoverflow.com/questions/659013/accessing-a-shared-file-unc-from-a-remote-non-trusted-domain-with-credentials

file sharing but I have failed to come up with anything useful. And so I ask Is there another way Did I miss a super secret..

Anyone know a good workaround for the lack of an enum generic constraint?

http://stackoverflow.com/questions/7244/anyone-know-a-good-workaround-for-the-lack-of-an-enum-generic-constraint

way home tonight... I'm hoping to have a quick blitz on useful enum methods to get the library up to a usable standard quickly..

C# Events and Thread Safety

http://stackoverflow.com/questions/786383/c-sharp-events-and-thread-safety

How to use HTML Agility pack

http://stackoverflow.com/questions/846994/how-to-use-html-agility-pack

method also accepts a stream which is very useful in integrating with other stream oriented classes in the .NET.. the .NET framework. While HtmlEntity.DeEntitize is another useful method for processing html entities correctly. thanks Matthew..

Method-Chaining in C#

http://stackoverflow.com/questions/1119799/method-chaining-in-c-sharp

multiple items to be passed to your method as an array. Useful when you want to hide the array creation and provide a variable..

Castle Interceptors With Fluent Interface

http://stackoverflow.com/questions/1188957/castle-interceptors-with-fluent-interface

typeof IService then IProductService will be used. Useful when you want to register all your services and but not want..

Most Useful Attributes [closed]

http://stackoverflow.com/questions/144833/most-useful-attributes

Useful Attributes closed I know that attributes are extremely useful...

How to create a simple proxy in C#?

http://stackoverflow.com/questions/226784/how-to-create-a-simple-proxy-in-c

he must send the answer from the web to the client but how Useful link Mentalis Proxy I have found this project that is a proxy..

How can I hide the resizing handles of a control in Windows Forms?

http://stackoverflow.com/questions/2494865/how-can-i-hide-the-resizing-handles-of-a-control-in-windows-forms

control and then override the SelectionRules property. Useful reference Extending Design Time Support share improve this..

Multithreading improvements in .NET 4

http://stackoverflow.com/questions/2704583/multithreading-improvements-in-net-4

with the Task factory and the blocking collection. Useful screencast with examples from Channel 9 These can also use different..

What static analysis tools are available for C#? [closed]

http://stackoverflow.com/questions/38635/what-static-analysis-tools-are-available-for-c

flaws Quality Metric Tools NDepend great visual tool. Useful for coupling and dependency studies. Nitriq free can easily..

Does OFBIZ Support C#?

http://stackoverflow.com/questions/4829701/does-ofbiz-support-c

Yes you can make API Web services calls via SOAP from C#. Useful PDF about it http www.opensourcestrategies.com ofbiz OFBIZ_SOAP_RMI_Tutorial.pdf..

IPC Mechanisms in C# - Usage and Best Practices

http://stackoverflow.com/questions/56121/ipc-mechanisms-in-c-sharp-usage-and-best-practices

pipes etc But WCF simplifies IPC development greatly. Useful resource Interprocess Communication with WCF on Dr. Dobb's portal..

When to use ref and when it is not necessary in C#

http://stackoverflow.com/questions/635915/when-to-use-ref-and-when-it-is-not-necessary-in-c-sharp

The article explains all of this in more detail of course Useful answer you almost never need to use ref out . It's basically..