Category Archives: C# Articles

3 Ways to Convert String to Int or Number in C#

In this article you will learn:

How to convert string to a number or int in c#

When programming using c# most of the time your code required to convert String into Number or Int. Most of the time after converting you might get input string was not in a correct format error. In this article I Read More.


String.Format C# – Everything You Need to Know

In this tutorial you will learn

  1. What is String.Format?
  2. How to use String.Fromat?
  3. Currency Formation
  4. DateTime Formation
  5. Decimal, Double, Float and Int Formation

String.Format converts the value according the Format specified by you. In this tutorial you will learn all techniques to convert Read More.


C# string vs String? What are the Differences?

Objective
As a developer are you confused to choose between string and System.String?
In this article I am going to show you all the differences between string and System.String in C# with proper programming example.

What is the Difference between string and String() in C#?

Basically there Read More.


C# Randomize Char Array with Programming Example

In C#, there is way to randomize char array. Following program explains it clearly.

Output

3 , 2 , 1 , A , C , B ,
_

 

More Examples

C# String Functions and Properties

logotype
In this chapter you will learn

  • What is string?
  • How many types of string function in C#?
  • How to use C# string function in programming?
  • What is the difference between string and String?

In C# programming, string is another kind of data type that represents Unicode Characters. Read More.