ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
   
 
Categories  >>  Code Snippets  >>  Programming Code  >>  Dot Net Code  >>  C Sharp Code
 
 


 

 
 ASP.NET Code interview questions  ASP.NET Code Interview Questions
 VB.NET Code interview questions  VB.NET Code Interview Questions
 C Sharp Code interview questions  C Sharp Code Interview Questions
 ADO.NET Code interview questions  ADO.NET Code Interview Questions
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

 
 
 
Other C Sharp Code Interview Questions
 
  Question Asked @ Answers
 
program for addition of fraction(M/N + P/Q = Y/Z) Mind-Tree1
"c sharp" code for factorial using static variables  8
How to Create Files by Using the FileInfo Class?  1
Code for Working with Files under a Directory?  1
program to reverse the order of digits in a given number of any length. Mind-Tree1
How to pass multiple rows from one gridview to another gridview after clicking the checkbox. Satyam1
how can i split sting in textbox in windows application using c# .net  2
how does the below eqation proceed to be solved: x*=y+z options: x=x*y+z or x=x*(y+z)  1
Write a function which accepts a sentence as input parameter.Each word in that sentence is to be reversed. Space should be there between each words.Return the sentence with reversed words to main function and produce the required output. for eg:- i/p: jack jill jung kill o/p: kcaj llij gnuj llik Mind-Tree1
How to Create a Treeview Menu in ASP.NET with C#?  1
program to reverse the order of words in a string. Mind-Tree2
How to use ASP.NET 2.0's TreeView to Display Hierarchical Data?  1
 
For more C Sharp Code Interview Questions Click Here 
         


   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2012  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com