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

How to make a class not inheritable other than sealed?

3 Answers  


What is parsing?

0 Answers  


Can you mark static constructor with access modifiers?

0 Answers  


What is Dispose method in .NET?

3 Answers  


Is array passed by reference in c#?

0 Answers  


what is a enumeration in c#

0 Answers   Cognizant,


How can you clean up objects holding resources from within the code?

2 Answers   L&T, Wipro,


What is the difference between array and arraylist c#?

0 Answers  


what is reference parameter? what is out parameters? what is difference these two?

9 Answers   Bally Technologies, SPIC, Wipro,


Explain streamreader/streamwriter class?

0 Answers  


How to use delegates with events?

0 Answers  


Is static thread safe?

0 Answers  


Categories