CSharp

List of Tips/Tricks in CSharp

General


How to Use C# Client to Consume Google App Engine's RPC

How to Use C# Client to Consume Google App Engine's RPCRead more..
By: nsoonhui   |    On:  5/7/2010 9:44:23 AM

How to Format time HH:MM:SS from second in C#

In this tip, i will share with you , how to format time HH:MM:SS from seconds in C#.Read more..
By: pranay rana   |    On:  2/25/2011 8:04:11 AM

Call Methods with Default Parameters in C# 4.0

In the C# 4.0 has a great features, which call a method with default values.Read more..
By: RRaveen   |    On:  4/19/2010 9:58:05 AM

Miscellaneous


How to upload videos to Facebook using C#

The Facebook is very popular and it has great support to other development Languages by Facebook SDKs.In this tips, I going to explain how to upload Videos to Facebook through C# with few lines of code.Read more..
By: Mostafa Elzoghbi   |    On:  6/13/2011 4:36:13 AM

How to read a file line by line C#

How to read a file line by line C#Read more..
By: RRaveen   |    On:  7/1/2010 4:55:04 AM

Windows Forms


Child list for field Custom object cannot be created in DataGridView

When we are bind list of collection with custom object in windows form DataGridView error occurredRead more..
By: RRaveen   |    On:  4/30/2010 10:38:57 PM

Files and Folders


How to Create Directory and File tree in C#

In this tips I have given, create directory and file detail as tree view in C#, I have seem so many questions in asked in forums, how to get the directory and file information in recursive manner.Read more..
By: RRaveen   |    On:  7/12/2010 11:24:18 PM

Threading


How to Sleeping a thread for Zero Seconds in C#

I was asked about something that appeared to be an oddity in some example code that I posted online. The code in question was a single call to the sleep function.Thread.Sleep(0);or if you prefer to see the native code version:Sleep(0);The sleep function is often used to insert delays into code.Read more..
By: j2inet   |    On:  7/17/2010 11:49:47 PM

Data Binding


How to use the Compute method with DataTable or DataSet in C#

There are lots of features in .NET framework. In this article, you will learn how to use the Compute method, which is exists within the data table object.Read more..
By: RRaveen   |    On:  7/26/2010 4:37:46 AM

CSharp4.0


Difference between var and dynamic in C# 4.0

C# 4.0 introduces a new keyword called 'Dynamic'. It can consume any object anything.Read more..
By: jalpesh   |    On:  5/16/2010 2:19:14 AM

How to use Yield statement in C#

Yield statement is one of most interesting statement in the C# 2.0. I have heard about lot of yield statement but today i have learned about yield statementRead more..
By: jalpesh   |    On:  5/22/2010 6:03:36 AM

Enum.HasFlag method in C# 4.0

Enums in dot net programming is a great facility and we all used it to increase code readability. In earlier version of .NET framework we don’t have any method anything that will check whether a value is assigned to it or not. In C# 4.0 we have new static method called HasFlag which will check that particular value is assigned or not.Read more..
By: jalpesh   |    On:  1/1/2011 7:14:00 AM

The extended version of string spilt method in C#

In this tips,I am going to discuss about two important thing about Split function of String class. Split function of the string class split the string in array of string.Read more..
By: pranay rana   |    On:  7/29/2011 10:36:47 AM

How to use BigInteger in C# 4.0

In this tip, I will explain how to use the BigInteger in C# 4.0.The BigInteger is new data type in .NET 4.0.Read more..
By: jalpesh   |    On:  9/22/2011 7:03:54 AM
^ Scroll to Top