php mcq questions with answers


                                
myMobile.Accept(55, inReject: false); Above statement is an example of which new concept of C# 4.0?
A.Named Parameters
B.Optional Parameters
C.dynamic
D.Variance
                                
COM Interop is simplified in C#4.0 e.g.var doc = Application.GetDocument("MyFile.txt"); In above statement_______ keyword was essential in parameters of GetDocument() in previous versions of C#.
A.out
B.named
C.base
D.ref
                                
Covariance and Contravariance are new features introduced in C# 4.0.True/False?
A.False
B.True
                                
_________parameters allows you to give a method parameter a default value so that you do not have to specify it every time you call the method.
A.optional
B.named
C.out
D.ref
                                
Duck typing is implemented by using_________ keyword.
A.dynamic
B.object
C.ref
D.base