How To Ideas | How To Articles | How To Tutorials


List/Grid Tag Archives: free download c# code

How To Compare Two Strings In C#

You can easily Compare two strings in C#. Result of Comparison of two strings return either false or true which tells us whether the two strings are equal or not. String Comparison is case sensitive. This means that if you have a single character in a string in different case than the other string, then the two string wont be considered as equal. But you can tell the .NET to… Read more »

How To Format Date And Time In C#

You can configure DateTime object to show output in different ways as your need. You can easily fetch the System date and Time by using the following command DateTime dateTime = DateTime.Now; or you can create any custom date time object by using following command DateTime newDateTime = new DateTime(2011, 3, 21, 10, 23, 12); // new DateTime(year, month, day, hr, min, sec) Now if you just output any of… Read more »

How To Search Files In A Directory And Its Sub-Directories Using C#

Are you looking for a solution to Search A Directory content and find a File with specified name, but not able to find one for yourself. Then here is a simple and best solution to you. I have created a full Application which Searches a directory by following 8 different kinds of Search Criteria and returns us the result consisting of name of file found, its size and its full… Read more »



© 2012 How To Ideas. All rights reserved.
Proudly designed by Theme Junkie.