Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 public class TR_Sample 
 {
 	public int factorial(int n)
 	{
 		if (n == 1)
 			return 1;
 		
 		return n * factorial(n-1);
	}
New to GrepCode? Check out our FAQ X