All c# applicatioins begin execution by calling which method
Answers
Answered by
10
All c# applicatioins begin execution by calling
___ common language runtime (CLR) ___
method
........
THAT IS WHY THE C # LANGUAGE IS LIKE THE
_____EXAMPLE : -
abstract class Motorcycle
{
// Anyone can call this.
public void StartEngine() {/* Method statements here */ }
// Only derived classes can call this.
protected void AddGas(int gallons) { /* Method statements here */ }
// Derived classes can override the base class implementation.
public virtual int Drive(int miles, int speed) { /* Method statements here */ return 1; }
// Derived classes must implement this.
public abstract double GetTopSpeed();
}
___ common language runtime (CLR) ___
method
........
THAT IS WHY THE C # LANGUAGE IS LIKE THE
_____EXAMPLE : -
abstract class Motorcycle
{
// Anyone can call this.
public void StartEngine() {/* Method statements here */ }
// Only derived classes can call this.
protected void AddGas(int gallons) { /* Method statements here */ }
// Derived classes can override the base class implementation.
public virtual int Drive(int miles, int speed) { /* Method statements here */ return 1; }
// Derived classes must implement this.
public abstract double GetTopSpeed();
}
Similar questions