| |
|
Why does the compiler throw an error when variables are declared with an initial value?
The compiler throws an error when a variable is declared without an initial value, when the declaration is within
a member scope. The variables do not recieve default value when they are declared within a scope.
Note that if the variable is used as an output parameter, this variable does not need to be assigned an
initial value.
Protected Internal
Array
Sort Array
Throw
Multiple Catch
Polymorphism
Inheritance
Session Viewstate
Autogenerate
ReadOnly
Sealed Class
Sealed Method
Multiple Interfaces
Overloading
Overloaded Constructors
Generics
Main
Case Sensitive
Console
Specifier
Return Type
SetCommandLineArgs
System Environment
New
Default Values of Types
Compiler Error
Constant Variable
Const
Const - ReadOnly
Parameter Modifier
Out Ref
Interface
Interface Reference, is, as
System.Collection
More Interview Questions...
| |