Senior .Net Developer Question:
Download Questions PDF

Tell us what is a variable of implicit type and what is its scope?

Answer:

It is a variable that doesn’t require type declaration since the compiler automatically determines its type. Its scope is local, within a method. It only allows inferring the kind the first time it assigns a value to the second. However, if the type is different, it throws an error.

Download Senior .Net Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Please explain what is a delegate?Please explain is the JIT an interpreter?