Coding Best Practices
Coding Best Practices
Welcome to Performance & Best Practices section of C# Corner. In this section, you will find various Performance & Best Practices related source code samples...


  • Hemant Mahajan

    Agile for DevOps

    In this blog you will learn about Agile for DevOps.
    Hemant Mahajan Nov 12, 2015
  • Hashim Shafiq

    3 Effortless Ways To Keep Your Code Clean

    This blog show 3 effortless ways to keep your code clean.
    Hashim Shafiq Sep 21, 2015
  • Prasham Sabadra

    Code Hunt, a monthly competition designed by the pros at Microsoft Research

    News for monthly competition designed by the pros at Microsoft Research.
    Prasham Sabadra Feb 23, 2015
  • Shweta Lodha

    Note on Importance of UI in Performance

    Simple UI tricks, such as progress bars, redirecting user's attention using animation, or placing slower loading sections at the bottom of a page or off-screen, can often ‘fix’ a performance problem.
    Shweta Lodha Mar 11, 2014
  • Arpit Jain

    Difference Between && And &, || And |

    In this article we will learn a very important and basic part of the "and" and "or" operators.
    Arpit Jain Sep 13, 2013
  • Vidya Vrat Agarwal

    Best Practices - Exception Handling in C# .NET

    This article talks about best practices of exception handling, and guides you for some common programming mistakes developers do, as that seems appropriate in most of the application written.
    Vidya Vrat Agarwal Jun 25, 2013
  • Mohammed Hameed

    Code Review Checklist and Guidelines for C# Developers

    This is a general Code Review checklist and guidelines for C# Developers, that will serve as a reference point during development.
    Mohammed Hameed Jun 08, 2013
  • Surjeet Yadav

    Code Optimization Techniques

    Optimization of code is done by applying code transformations to improve performance, like execution time, code size, minimum resource utilization etcetera. These transformations can be made either...
    Surjeet Yadav May 29, 2013
  • Surjeet Yadav

    Software Engineering Paradigm

    Lets learn about Software Engineering Paradigm.
    Surjeet Yadav May 19, 2013
  • Anuja Pawar

    HIPAA (Health Insurance portability and accountability Act)

    Basic rules to be followed for HIPAA compilances.
    Anuja Pawar Dec 14, 2012
  • Sukesh Marla

    Naming Connventions

    What are naming conventions and what are their importance
    Sukesh Marla Dec 13, 2012
  • Sukesh Marla

    Naming Conventions

    Naming Convention - Must factor for For training related to design patterns, jQuery and other .net related topics contact at
    Sukesh Marla Dec 13, 2012
  • Gaurav Sharma

    Introduction To SOLID

    In this series of blog I will like to talk about Principles of Object Oriented Programming, called SOLID.
    Gaurav Sharma Jun 26, 2012
  • Gaurav Sharma

    Single Responsibility Principle – C#

    Example on how should we implement SRP in C#
    Gaurav Sharma Jun 25, 2012
  • Gomathi Palaniswamy

    Object Oriented Concepts - Part I

    Lets learn the concept of Object Oriented Programming Language.
  • Anil Kumar

    Update Panel Overuse? Be a bit cautious in terms of slowness (performance issue)

    Don’t be careless while using Update Panel in your project. It can slow down if you not care.
    Anil Kumar May 11, 2011
  • Anil Kumar

    Null-coalescing and Ternary operator

    Null-coalescing and Ternary operator for avoiding null value while assignment.
    Anil Kumar Apr 22, 2011
  • dheeraj pk

    How to Avoid Single Quote Exception in SQL

    How to Avoid Single Quote exception while inerting/Update/Select query.. (Unclosed quotation mark after the character string.......)
    dheeraj pk Feb 06, 2011
  • Zoran Horvat

    .NET String Immutability and Related .NET Framework Bugs

    This article which explains several aspects of the .NET String class internal structure. Examples and workarounds are given for three distinct manifestations of a reported bug related to the TextRe...
    Zoran Horvat Dec 12, 2010
  • Jiteendra Sampathirao

    String and StringBuilder Classes

    Here I'm going to tell you about what is String and StringBuilder and what the differences between String and StringBuilder classes.
  • Jean Paul

    Speed of Lambda

    In this article I am trying to compare the speed difference of Lambda expressions with traditional programming. The results are mind-blowing.
    Jean Paul Nov 01, 2010
  • Purushottam Rathore

    Open new browser window using

    How to open new browser window using
  • Pradeep Chandraker

    Custom WSE 3.0 Policy Assertion - Modifying the Security Header Generated by WSE

    Recently I encoutered an issue in the WSE security header of an ASP.Net application consuming a Java web service using WSE 3.0 involving the automatic addition of a timestamp in the security header...
    Pradeep Chandraker May 04, 2010
  • Nazimuddin Tajuddin Basha

    How to Architect an Application

    In this article let’s get into the business of how to architect an application.
  • Mohammad Elsheimy

    Marshaling with C# - Chapter 2: Marshaling Simple Types

    This chapter discusses the nitty-gritty part of marshaling process. It is the base for the rest of discussion about marshaling. It is about marshaling simple data types.
    Mohammad Elsheimy Mar 11, 2010
  • View More