c# Programming Glossary: illustrated
Rounding decimal value http://stackoverflow.com/questions/11740989/rounding-decimal-value nearest even value in the digits decimal position. This is illustrated in the following example where 2.135 is rounded to 2.13 instead..
Is Task.Factory.StartNew() guaranteed to use another thread than the calling thread? http://stackoverflow.com/questions/12245935/is-task-factory-startnew-guaranteed-to-use-another-thread-than-the-calling-thr prevent reentrancy would be to pass a CancellationToken as illustrated in this extension method public static Task StartNewOnDifferentThread..
Encrypt/Decrypt string in .NET http://stackoverflow.com/questions/202011/encrypt-decrypt-string-in-net edited to pre pend the IV per jbtule's suggestion and as illustrated here http msdn.microsoft.com en us library system.security.cryptography.aesmanaged..
What is generics in C#? http://stackoverflow.com/questions/4560890/what-is-generics-in-c is generics in C# I am a beginner. What is generics in C# illustrated with a simple example What are some related articles or websites..
Business Logic Layer and Data Access layer: circular dependency http://stackoverflow.com/questions/458098/business-logic-layer-and-data-access-layer-circular-dependency site but those patterns are described very generic and are illustrated by a very abstract UML diagram. They don ™t solve my problem...
What is the impact of Thread.Sleep(1) in C#? http://stackoverflow.com/questions/508208/what-is-the-impact-of-thread-sleep1-in-c what is the impact of calling Thread.Sleep 1 as illustrated in the following code public Constructor Thread thread new Thread..
Overriding a property with an attribute http://stackoverflow.com/questions/592671/overriding-a-property-with-an-attribute typeof Foo overrides serialize as normal here. This is illustrated in more detail here . In your case you would provide an XmlIgnoreAttribute..
Converting a List of Base type to a List of Inherited Type http://stackoverflow.com/questions/686305/converting-a-list-of-base-type-to-a-list-of-inherited-type getting an error in my attempts. Below is sample code to illustrated this public class A public static void MethodC List A Do Something..
How many String objects will be created when using a plus sign? http://stackoverflow.com/questions/9132338/how-many-string-objects-will-be-created-when-using-a-plus-sign or literals will actually be the same object This is illustrated by the following public class Program private const String one..
What does <T> denote in C# http://stackoverflow.com/questions/9857180/what-does-t-denote-in-c-sharp a collection that can hold strings. The Reverse method illustrated above in a somewhat different form can be used to reverse the..
|