Login or Sign Up to become a member!
LessThanDot Sit Logo

LessThanDot

Community Wiki

Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.

LTD Social Sitings

Lessthandot twitter Lessthandot Linkedin Lessthandot friendfeed Lessthandot facebook Lessthandot rss

Note: Watch for social icons on posts by your favorite authors to follow their postings on these and other social sites.

Navigation

Google Ads

C Sharp Programming Hacks

From Wiki

Jump to: navigation, search

This page is a "master list" of useful C# programming tips. Most of them will be of the "short and sweet" variety, hence the term "hacks". A lot will be things that we wish we'd thought of before. If you add material to the wiki that you think would be appropriate to add, please go ahead and list them in this page as well.


Contents [Hide]

General

  * Aliasing a namespace in CSharp
  * Ping A Server In CSharp and .NET 2.0
  * Serialize an Object to XML in CSharp
  * Using Ternary Operators in CSharp

Strings

  * Use Stringbuilder to concatenate strings in CSharp


Dates

  *


ADO.NET

  * Use Parameters Instead of String Concatenation for Database Queries in CSharp

Forms

  * Passing A Value Between Two Forms using a Property in CSharp

Controls

  *


linq

  * 


Reflection

  * Generic List Provider in CSharp


Patterns

  *

346 Rating: 2.8/5 (12 votes cast)