Contents tagged with c sharp
-
Dissecting a C# Application: Inside SharpDevelop
Dissecting a C# Application: Inside SharpDevelop:
-
Reverse Enum Lookup
Sometimes you may have the string name of an enumeration identifier, and want its enum type. For example, you write a enum identifier as a string to a file and want to read it back and obtain the original enumeration type. This takes place when you serialize a class to an XML file and deserialize it back using XmlSerializer.
-
Implementing Singleton in C#
Interesting article I have just read about "Implementing Singleton in C#"
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpatterns/html/ImpSingletonInCsharp.asp
Key topics covered: Static Initialization, Double-Check Locking, Multithreaded Singleton -
How to implement ReplaceAll in Java...
Took a look at some snippets I wrote some time ago and found the code below. Hope my blog's readers enjoy it. It is not pure .Net code but can be converted to.