Hello Sir, Thanks for the Solution but, can you pls. Explain
the coding for the Static Function & static variable from
the below coding....waiting for Ans.
class fact
{
public static void Main()
{
fact f=new fact();
int x=1; //Declaration of x as 1
int k=Convert.ToInt32(Console.ReadLine());
for(int i=1;i<=k;i++)
{
x= x *i;
}
System.Console.WriteLine(x);
}
}
No Answer is Posted For this Question
Be the First to Post Answer
Code for Working with Files under a Directory?
How to export 2 datatables of a single dataset to 2 different worksheets of a single MSExcel file ?
Write a program to convert postfix expression to infix expression.
program for string reverse(eg:- i am boy -> boy am i)
8 Answers Black Pepper, Infosys, Mind Tree,
program to check if a number is "perfect number".
how to get the table names via c sharp and column names also?
I am developing a web application using google map api.I want to update the map inside the div control within update panel. I got other controls updated but map doesn't get updated.I do not not want to update map whenever unnecessary controls are fired at server side.How could it be achieved?
Event Handling in C# Triggering a Button
Give the code for Handling Mouse Events?
Code for Reading and writing from a file?
program to reverse the order of digits in a given number of any length.
how can i split sting in textbox in windows application using c# .net