北大青鸟8.0第一章深入.NET框架课后简答题Mario
```csharp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mario
{
class Mario
{
private int width;
public int Width
{
get { return width; }
set { width = value; }
}
private int height;
public int Height
{
get { return height; }
set { height = value; }
}
private int picture;
public int Picture
{
get { return picture; }
set { picture = value; }
}
private int Bpicture;
public int Bpicture1
{
get { return Bpicture; }
set { Bpicture = value; }
}
private string fire;
public string Fire
{
get { return fire; }
set { fire = value; }
}
private int heathy;
public int Heathy
{
get { return heathy; }
set { heathy = value; }
}
public void Run()
{
Width = 10;
Height = 10;
Picture = 20;
Bpicture1 = 50;
Heathy = 100;
Fire = "开火";
Console.WriteLine("玛丽跑了{0}米,他具有{1},身体变宽{2}米,变高{3}米,血量剩余{4}.", Bpicture - picture, fire, width, height, heathy);
Console.ReadLine();
}
}
}
##选择题
一.1.C 2.B 3.A 4.D 5.A
二.1.CLR和FCL
2.是所有.NET应用程序运行时的环境,是所有.NET应用程序都要使用的编程基础。