.NET Interview Questions 4 th Edition By Shivprasad ... - A2Z Dotnet
.NET Interview Questions 4 th Edition By Shivprasad ... - A2Z Dotnet
.NET Interview Questions 4 th Edition By Shivprasad ... - A2Z Dotnet
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
(A)Where are all .<strong>NET</strong> Collection classes located?................................................ 117<br />
(A) What is ArrayList? ........................................................................................... 117<br />
(A) What is a HashTable?....................................................................................... 117<br />
(A) What are queues and stacks?............................................................................ 117<br />
(B) What is ENUM? ............................................................................................... 118<br />
(A) What is nested Classes?.................................................................................... 118<br />
(B)What is Operator overloading in .<strong>NET</strong>?............................................................ 118<br />
(I) For <strong>th</strong>e below code which constructor will fire first?....................................... 118<br />
(B)What is <strong>th</strong>e significance of Finalize me<strong>th</strong>od in .<strong>NET</strong>?...................................... 119<br />
(I)How can we suppress a finalize me<strong>th</strong>od? ........................................................... 120<br />
(B)What is <strong>th</strong>e use of DISPOSE me<strong>th</strong>od? .............................................................. 120<br />
A) How do I force <strong>th</strong>e Dispose me<strong>th</strong>od to be called automatically, as clients can<br />
forget to call Dispose me<strong>th</strong>od? ............................................................................... 120<br />
(I) In what instances you will declare a constructor to be private? ........................ 121<br />
(I) Can we have different access modifiers on get/set me<strong>th</strong>ods of a property ? ..... 121<br />
(I) If we write a goto or a return statement in try and catch block will <strong>th</strong>e finally<br />
block execute?......................................................................................................... 121<br />
(A) What is Indexer?............................................................................................... 121<br />
(A) Can we have static indexer in C#? ................................................................... 121<br />
(A)Can two catch blocks be executed?................................................................... 121<br />
(A) What is <strong>th</strong>e difference between System.String and System.StringBuilder<br />
classes?.................................................................................................................... 121<br />
Chapter 7: ASP.<strong>NET</strong>.................................................................................................... 121<br />
(B) What’ is <strong>th</strong>e sequence in which ASP.<strong>NET</strong> events are processed? ................... 121<br />
(B) In which event are <strong>th</strong>e controls fully loaded?................................................... 122<br />
(B) How can we identify <strong>th</strong>at <strong>th</strong>e Page is Post Back?............................................. 122<br />
(B) How does ASP.<strong>NET</strong> maintain state in between subsequent request? .............. 122<br />
(A) What is event bubbling?................................................................................... 122<br />
B) How do we assign page specific attributes? ...................................................... 122<br />
(A) How do we ensure viewstate is not tampered?................................................. 122<br />
(B) What is <strong>th</strong>e use of @ Register directives?........................................................ 122<br />
(B) What is <strong>th</strong>e use of Smart Navigation property?................................................ 122<br />
(B) What is AppSetting Section in “Web.Config” file? ......................................... 123<br />
(B) Where is View State information stored?......................................................... 123<br />
(I) what is <strong>th</strong>e use of @ Output Cache directive in ASP.<strong>NET</strong>............................... 123<br />
(B) How can we create custom controls in ASP.<strong>NET</strong>? .......................................... 123<br />
(B) How many types of validation controls are provided by ASP.<strong>NET</strong>?............... 123<br />
(B) Can you explain “AutoPostBack”?................................................................... 124<br />
(B) How can you enable automatic paging in Data Grid?...................................... 124<br />
(B) What is <strong>th</strong>e use of “GLOBAL.ASAX” file?..................................................... 124<br />
(B) What is <strong>th</strong>e difference between “Web.config” and “Machine.Config”?.......... 124<br />
(B) What is a SESSION and APPLICATION object? ........................................... 124<br />
(A) What is <strong>th</strong>e difference between ‘Server.Transfer’ and ‘response. Redirect’ ?. 124<br />
(A)What is <strong>th</strong>e difference between Au<strong>th</strong>entication and au<strong>th</strong>orization?.................. 125<br />
(I) what is impersonation in ASP.<strong>NET</strong>? ................................................................. 125<br />
(B) Can you explain in brief how <strong>th</strong>e ASP.<strong>NET</strong> au<strong>th</strong>entication process works? ... 125