Using system;
class main
{
public static void Main()
{
int a = 1;
for (int i = 0; i < 10; i++)
{
int j = a * 5;
Console.WriteLine(a + "*5=" + j);
a++;
}
Console.ReadLine();
}
}



Using system; class main { public static void Main() { int a = ..

Answer / suresh kumar patra

1*5=5
2*5=10
3*5=15
4*5=20
5*5=25
6*5=30
7*5=35
8*5=40
9*5=45
10*5=50

Is This Answer Correct ?    19 Yes 2 No

Post New Answer

More C Sharp Interview Questions

What do you mean by jagged array?

1 Answers  


Is array reference type / value type?

15 Answers   Accenture,


Can we override constructor in c#?

1 Answers  


What is the difference between CONST and READONLY?

1 Answers   BirlaSoft,


Why is .net so popular?

1 Answers  


t name of controls, which are displayed same in all browers?

1 Answers   TCS,


What are value types in c#?

1 Answers  


What is dataview c#?

1 Answers  


what are the differences b/w structure and class?

10 Answers  


what is difference between is and as operators in c#?

1 Answers   Winsol Solutions,


How to sort an int array in c#?

1 Answers  


What is the difference between values and reference types?

1 Answers   Alcatel-Lucent,


Categories