Home / Programming MCQs / C# MCQs / Question
B
Q. What will be the output of the following C# code?
public static void Main(string[] args) { int i = 123; object o = i; i = 456; System. Console. WriteLine("The value-type value = {0}", i); System. Console. WriteLine("The object-type value = {0}", o); Console. ReadLine(); }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
How many Bytes are stored by ‘Long’ Data type in C# .net?
Choose the namespace in which the interface IEnumerable is declared?
______ parameters are used to pass results back to the calling method.
Which data type is used to store text value in C#?
Select the namespace which should be included while making use of LINQ operations:
DIFFERENCE BETWEEN KEYWORDS ‘VAR’ AND ‘DYNAMIC’?
The theory of _____ implies that user can control the access to a class, method, or variable.
How many enumerators will exist if four threads are simultaneously working on an ArrayList object?
Discusssion
Login to discuss.