using System.Text.RegularExpressions;
public void sss(string emailaddress)
Regex.IsMatch(emailaddress, @"^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$");
public static void Main()
int [] std_n = new int[10];
int [] std_marks = new int[10];
for (int c=0 ; c < 10 ; c++)
Console.WriteLine("Enter the id number of student "+(c+1));
std_n[c]=int.Parse(Console.ReadLine());
Console.WriteLine("Enter the mark of student "+(c+1));
std_marks[c]=int.Parse(Console.ReadLine());
for (int c=0 ; c < 10 ; c++)
Console.WriteLine("Student number "+std_n[c]+ " got " + std_marks[c]);
int [,] std_all = new int[10,10];
for (int c=0 ; c < 10 ; c++)
std_all[c,cc+1]=std_marks[c];
for (int c=0 ; c < 10 ; c++)
Console.WriteLine("Student number "+std_all[c,cc] + " got " + std_all[c,cc+1]);