C# Articles

3 Ways To Convert String To Int Or Number 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
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?
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. Read More...

Answer – C# Event Handling Exercises
Qu: Write a program for Online Attendance. The conditions are as follow: User provides their name as Input and then application show message to "Welcome to their Name". Read More...

C# – How To Use Const In Inheritance
This example contains a class Laptop which inherits be base class LaptopBase. LaptopBase has several const values that are used in main method. This program is showing different types of laptop with details. Read More...

C# Randomize Char Array With Programming Example
In C#, there is way to randomize char array. Following program explains it clearly.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace array_sort
{
    class Program
    {
        static void Main(string[] args)
        {
            char[] a = { '1', 'A', '2', 'B', '3', 'C' };
            char[] randomArray = new char[a.Length];
            int randomnumber;
 
            Random rnd = new Random();
            for (int i = a.Length; i >= 1; i--)
            {
            	
Read More...

Why ASP MVC Is Much Better Than ASP.Net WebForms?
If you are or you want be Asp Web developer, you must know about ASP.Net MVC and reasons why it is much better than ASP.NET Web Forms.
ASP.NET is a biggest success of Microsoft and it successfully delivered Web Application for past 12 years. It is easier for web developer to develop web forms Read More...

C# String Functions And Properties
In C# programming, string is another kind of data type that represents Unicode Characters. It is the alias of System.String however, you can also write System.String instead of string. It is the sequence of character in which each character is a Unicode character. Read More...

More Articles