Microsoft Related Interview Questions
Questions Answers Views Company eMail

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 6486

DateTime[] 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 5445

class 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 3399

Method1() { 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 2945

interface a { Method1() Method2() } class b: a { override Method1() override Method2() } what will happen & why?

5 6340

1234 123 12 1 how to design above pic in vb.net?

ABC,

2 6410

in database table is thier . in that table fields are photoid , photoname,photo... i want display image in the gridview

TCS,

5 6883

how to write html code with ssl

DCI,

1525

what is namespace?

6 7157

What are the different generaions of Garbage Collection and how do they work

4 6157

in my windows application i have to show excelwork sheetwhich is stored in the local system can any one tell me the code?

1 7025

what is CLR?

PrimeLine,

3 5160

what is CLR?

PrimeLine,

3 5177

what is CTS?

PrimeLine,

3 5294

What is CLS?

IBM, PrimeLine, TCS,

5 10750


Un-Answered Questions { Microsoft Related }

Explain the role of allowunsafeupdates?

487


how to retrieve property settings from xml .config file.

543


What is the shortcut to insert a column in word?

314


What Is A Multicast Delegate?

547


Where is the instant messaging server?

576






What are the various x: prefix used in xaml language?

146


How do you remove part of a picture in powerpoint?

97


How do I make a footnote?

314


Where can I get good up-to-date information about VB?

911


What is string [] args in c#?

535


Define schema?

526


What is loosely coupled solution in.net?

567


How is .net core cross platform?

631


Explain how the .net framework performs automatic memory management.

567


What are the different types of channels used by .net remoting and which is the best one?

488