Answers

Question and Answer:

  Home  Senior .Net Developer

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

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.

 193 views

More Questions for you: