class Program { void add() { int x=10, y=20; fun(); Console.WriteLine("{0}", sum); } void fun() { int sum; sum = x + y; } static void Main(string[] args) { Program f =new Program(); f.add(); } } Debug above program.....
HCL,
3 5868Hi Friends, I am going through Siemens Interview Procedure from last 1+1/2 months. I went through 1 written + 2 Technical + 1 Managerial Round process after which I got call from HR informing that "you are selected and we would like to meet you for HR round". HR round was very nominal compared to MR. HR Round last for hardly 5 mins. They told me that you will get the final result on Friday. Still I have not received any feedback from them. Please help!!!
17335hi all.... i need code snippets for store and retrive tiff fromat images in sqlserver....... kindy provide it.......
1892how to insert the data from the grid view to database table though button click.pls send the answer to mail id suri1319@gmail.com
1959What are anonymous methods ? why these methods are used and in what condition these methods are useful ?
1 3681
What is action c#?
What is ilasm.exe used for?
Can private virtual methods be overridden in c#.net?
How long does it take to learn c# programming?
What is boxing & unboxing?
What is the value which is accepted by all data types ?
Which programming language is best for desktop applications?
What is string pool in c#?
How to achieve polymorphism in c#?
When should we use delegates in c#?
Difference between StackPanel and RelativePanel ?
Why do we need private constructor in c#?
How to use exception handling in stored procedure?
What is the difference between list and arraylist in c#?
What are functions in c#?