您的位置:首页 > 编程语言 > C#

C# 嵌套类

2016-03-31 12:45 239 查看
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication32
{
class Program
{
public class A
{
public int a { get; set; }
}

}
class IN
{
static void Main(string[] args)
{
Program.A aa = new Program.A();//注意
aa.a = 1;
}
}
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  C# 嵌套类