Peter Bahaa's Blog

Business and Technical Articles

Coding Standards and Best Practices : Dealing with strings Part (1)

August 18
by Peter Bahaa 18. August 2010 21:57
Week ago i started a series of blog posts about coding standards and best practices and i will be posting those post between my personal and Integrant blogs, as one of the most things i love about Integrant is that all the developers are concerned about using coding standards and best practices and approaches, As best practices and coding standards works like a contract between the developers to ensure maintainability, readability, performance and usability, for example I’m writing a piece of ... [More]

Tags:

C# | Best Practices | Coding Standards | Tips & Tricks | Technical

Implementing Multithreaded Singleton Class

August 17
by Peter Bahaa 17. August 2010 02:46
You are building an application in C#. You need a class that has only one instance, and you need to provide a global point of access to the instance. You want to be sure that your solution is efficient and that it takes advantage of the Microsoft .NET common language runtime features. You may also want to make sure that your solution is thread safe. Multithreaded Singleton Static initialization is suitable for most situations. When your application must delay the instantiation, use a non-defa... [More]

Tags:

C# | Tips & Tricks | Best Practices

Calendar

<<  February 2012  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
2728291234
567891011

View posts in large calendar