-
-
which is not cls compliant built in value type?
intushortdecimalenum
-
which of the following is not a member of System.Object?
a)Instance equalsb)Static Equalsc)Instance referenceequalsd)Instance Gettype
-
-
-
-
-
-
-
-
Which method is actually called ultimately when Console.WriteLine( ) is invoked
A) Append( )B) AppendFormat( )C) Tostring( )
-
Which statement is invalid with regards to Constant
A) They must be initialized when they are declaredB) The value of the constant must be computable at compile timeC) Constants are not staticD) Constant is a variable whose value can be changed through out it’s life time when it is static.
-
Is it possible to have different access modifiers on the get/set methods of a property?
No. The access modifier on a property applies to both its get and set accessors. What you need to do if you want them to be different is make the property read-only (by only providing a get accessor) and create a private/internal set method that is separate from the property.
-
Why do I get a syntax error when trying to declare a variable called checked?
The word checked is a keyword in C#.