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();
}
}
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 |
What are the differences between system.string and system.text.stringbuilder classes?
Is namespace a class?
What is garbage collector and where should you use in .NET?
I have 3 overloaded constructors in my class. In order to avoid making instance of the class do I need to make all constructors to private?
What is the difference between a class and an object c#?
Why do we override in c#?
What is Implementation inheritance
What is the raise event used for?
Can a struct inherit from an interface in c#?
What is default constructor in c#?
What is the main purpose of delegates in c#?
What does args mean in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)