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 4421Hi 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!!!
16602hi all.... i need code snippets for store and retrive tiff fromat images in sqlserver....... kindy provide it.......
1382how to insert the data from the grid view to database table though button click.pls send the answer to mail id suri1319@gmail.com
1482What are anonymous methods ? why these methods are used and in what condition these methods are useful ?
1 2896
What is before string in c#?
What are the properties of a string class?
Explain the role of the datareader class in ado.net connections?
What is difference between ienumerable and iqueryable in c#?
What is session and cookies in c#?
Is typeof c#?
What are the collection types can be used in c#?
Why we use get and set property in c#?
What is an int c#?
Can I fly with a loop recorder?
Can a struct inherit from an interface in c#?
What is equal c#?
What is object array in c#?
What is a property c#?
What is the difference between function and method in c#?