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
Coding for Manipulate XML File Data Using C#?
Event Handling in C# Triggering a Button
program for straight line(y=mx+c)
Write a program to count the number of characters, number of words, number of line in file.
program for addition of fraction(M/N + P/Q = Y/Z)
Write a program. there are 1..n numbers placed in an array in random fashion with one integer missing. find the missing number.
how do i copy textbox contents of 1 form to another form
how can i split sting in textbox in windows application using c# .net
How to pass multiple rows from one gridview to another gridview after clicking the checkbox.
Write a program which has a function and that function should take 2 or 3 or any number of strings and it should return the largest common prefix of all those strings. If there is no common prefix it should return an empty string. for eg:- INPUT OUTPUT glo {glory,glorious,glod} gl {glad,glow} {calendar,phone} empty string
How to Create Files by Using the FileInfo Class?
working with arrays