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 5726Hi 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!!!
17245hi all.... i need code snippets for store and retrive tiff fromat images in sqlserver....... kindy provide it.......
1839how to insert the data from the grid view to database table though button click.pls send the answer to mail id suri1319@gmail.com
1911What are anonymous methods ? why these methods are used and in what condition these methods are useful ?
1 3596
Is int a struct in c#?
Which are the access modifiers available in c#?
Differentiate between method overriding from method overloading with its functionality?
What is appdomain in c#?
how encapsulation is implemented in c#
What is the difference between values and reference types?
What is the solution if you need to manipulate sets of items?
Why ienumerable is used in c#?
What do u mean by delegation of authority?
What is a thread c#?
What is different between Static Constructor and Private Constructor?
Can you use foreach iteration on arrays in c#?
How do generics work in c#?
What is concrete method in c#?
What is the ouput of the following program?