¡@

Home 

c# Programming Glossary: explains

.net XML Serialization - Storing Reference instead of Object Copy

http://stackoverflow.com/questions/1617528/net-xml-serialization-storing-reference-instead-of-object-copy

property. You may take a look at this post which explains the details. Here's a sample code public class Person public..

Method can be made static, but should it?

http://stackoverflow.com/questions/169378/method-can-be-made-static-but-should-it

and instance members of the C# Language Specification explains the difference. Generally static methods can provide a very..

Understanding Garbage Collection in .net

http://stackoverflow.com/questions/17130382/understanding-garbage-collection-in-net

keep watching it until the method returns. This now also explains what you saw earlier and why you asked the question. It prints..

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

because you've already got a lock. Joseph Albahari explains this stuff way better than I ever could. And be sure to check..

How do you convert Byte Array to Hexadecimal String, and vice versa?

http://stackoverflow.com/questions/311165/how-do-you-convert-byte-array-to-hexadecimal-string-and-vice-versa

the Internet but I couldn't find an answer that neatly explains how you can convert a byte array to a hexadecimal string and..

Is it considered acceptable to not call Dispose() on a TPL Task object?

http://stackoverflow.com/questions/3734280/is-it-considered-acceptable-to-not-call-dispose-on-a-tpl-task-object

need to dispose of Tasks which gives some more detail and explains the improvements in .Net 4.5. In summary You don't need to dispose..

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

if it was a file . Step 3 in the link you've sent mirror explains how to build a PKCS#12 store. Returning the byte DER structure..

How can a Windows Service start a process when a Timer event is raised?

http://stackoverflow.com/questions/4516200/how-can-a-windows-service-start-a-process-when-a-timer-event-is-raised

a simple message box. You can read the white paper that explains these changes in more detail here . If you're a more visual..

How can I close a login form and show the main form without my application closing?

http://stackoverflow.com/questions/4759334/how-can-i-close-a-login-form-and-show-the-main-form-without-my-application-closi

out the documentation for that method here on MSDN which explains this in greater detail. The best solution is to move the code..

How do I abort/cancel TPL Tasks?

http://stackoverflow.com/questions/4783865/how-do-i-abort-cancel-tpl-tasks

You may take a look at the following blog post which explains a proper way of canceling tasks using cancellation tokens. Here's..

Use of Application.DoEvents()

http://stackoverflow.com/questions/5181777/use-of-application-doevents

amount of backlash against it but nobody ever really explains why it is bad . The same kind of wisdom as don't mutate a struct..

Proper use of the IDisposable interface

http://stackoverflow.com/questions/538060/proper-use-of-the-idisposable-interface

84bf0b960936d677190a2be355858e80ef7542c0 In 35 pages he explains the problems of using binary objects and invents COM before..

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

to the parameter are changes to the variable. The article explains all of this in more detail of course Useful answer you almost..

Memory barrier generators

http://stackoverflow.com/questions/6581848/memory-barrier-generators

discovering this and bringing it to my attention. 1 1 This explains why BackgroundWorker works correctly without having volatile..

Tree data structure in C#

http://stackoverflow.com/questions/66893/tree-data-structure-in-c-sharp

http msdn.microsoft.com en us library ms379574.aspx explains a bit about why. Is there a convenient library which is commonly..

Regex: Named Capturing Groups in .NET

http://stackoverflow.com/questions/906493/regex-named-capturing-groups-in-net

.NET I'm having a hard time finding a good resource that explains how to use Named Capturing Groups in C#. This is the code that..

WCF - Design Parameter Decision

http://stackoverflow.com/questions/9553267/wcf-design-parameter-decision

on that logic. What is the SOA principle pattern that explains the above behavior Use of Renewal Service for determining the..

Queuing in OneWay WCF Messages using Windows Service and SQL Server

http://stackoverflow.com/questions/9702379/queuing-in-oneway-wcf-messages-using-windows-service-and-sql-server

Is the solution feasible Do we have any article book that explains how to implement the above What are the steps to prevent service.. have to reinvent the wheel Is there any book article that explains this implementation NOTES Content of the message will be complex.. Is the solution feasible Do we have any article book that explains how to implement the above Sure I don't see any big issue. The..