Archived
What does the following code return in display:
static void Main(string[] args) {
int a = 10; int b= 15;
int temp = 2*a;
a = b;
b = temp;
Console.WriteLine("a = "+a +" "+ "b = "+b);
}
0
Community EvaluationsNo one has reviewed this question yet, be the first!
6
Simple inheritance between a parent class and a child class in C#4
Initialize a new Vehiclue object containing a string field in C#2
What is a property in C#?2
The PFX Framework:6
Write a C# class with a private int age field and getter and setter methods for it.4
An event in an ASP.NET application:2
What is the new syntax for creating an object in C# 9.0?