String[] a = new string[10] for(i=0; i<10; i++) { a[i] = i; } How many heap object will be created for this array. Choose the answer below. Ans: 1, 10, 11, 12
6 6486DateTime[] dt = new DateTime[10] for(i=0; i<10; i++) { dt[i] = DateTime(2008, 1, i+1) } How many heap object will be created for the above array. Choose the correct answer below. Ans: 1, 10, 11, 12
3 5445class Employee { stat9c Method1() static Method2(ref a) stat9c Method3(out x) } class Employee { stat9c Method1() static Method2(ref a) stat9c Method3(out x) } what will happen & why?
2 3399Method1() { int a=0, b=0, c=0; Monitor.Enter(this) c = 12; b = 3; a = c/b Moniter.Exit(this) } Method1() { int a=0, b=0, c=0; c = 12; b = 3; lock(this){ a = c/b } } Choose correct answer. a. Upon completion, Method1 and Method2 release the lock b. Upon Comletion, Method1 release the lcok and Method2 not. c. Upon Completion, Method2 release the lock and Method1 not. d. Upon Completion, neither Method1 or Method to release the lock.
1 2945interface a { Method1() Method2() } class b: a { override Method1() override Method2() } what will happen & why?
5 6340in database table is thier . in that table fields are photoid , photoname,photo... i want display image in the gridview
TCS,
5 6883in my windows application i have to show excelwork sheetwhich is stored in the local system can any one tell me the code?
1 7025
Explain the role of allowunsafeupdates?
how to retrieve property settings from xml .config file.
What is the shortcut to insert a column in word?
What Is A Multicast Delegate?
Where is the instant messaging server?
What are the various x: prefix used in xaml language?
How do you remove part of a picture in powerpoint?
How do I make a footnote?
Where can I get good up-to-date information about VB?
What is string [] args in c#?
Define schema?
What is loosely coupled solution in.net?
How is .net core cross platform?
Explain how the .net framework performs automatic memory management.
What are the different types of channels used by .net remoting and which is the best one?