ASP.NET Web Application in C# to Create Linear Alphanumeric Pattern

Posted by Kundnani.Rt under C# category on | Points: 40 | Views : 1195
This code creates alphanumeric pattern like:

<user string><number>, .....

static void Main(string[] args)
string str="rr";

int m, n,k,i;

Console.Write("Please enter number of alphanumerics required: ");
m = int.Parse(Console.ReadLine());

Console.Write("\nPlease enter start of numeric number: ");
n = int.Parse(Console.ReadLine());

for (k=0,i=n; k<m;i++,k++)


Comments or Responses

Login to post response