编辑代码

using System;

class Octopus
{
  string name;
  public int Age = 10;
}

public class HelloWorld
{
    public static void Main()
    {
       Octopus os = new Octopus();
       os.name = "stu";
       Console.WriteLine(os.name);
       Console.WriteLine(os.Age);
    }
}