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

Will finally block get executed if the 1exception had not occurred?

3 Answers  


What is the difference between virtual and override in c#?

0 Answers  


Explain the use of Mutex in C#?

0 Answers   Sans Pareil IT Services,


If a class is a ref type, how we can pass to a function.

1 Answers   Synechron,


What are "class access modifiers" in C#?

0 Answers   Genpact,






What is meant by unicode characters?

0 Answers  


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

9 Answers   Bally Technologies, SPIC, Wipro,


4. Describe the process when we send a request URL? And who is responsible for that?

0 Answers   Mphasis,


5. What properties we used to call stored procedure in C#?

2 Answers   Mphasis,


What is lazy in c#?

0 Answers  


What?s a satellite assembly?

3 Answers   Visual Soft,


Are structs value types c#?

0 Answers  


Categories