搜索
编程论坛
→
.NET专区
→
『 C# 论坛 』
→ c#中的struct问题?
标题:
c#中的struct问题?
取消只看楼主
newyj
等 级:
新手上路
威 望:
3
帖 子:542
专家分:0
注 册:2008-1-4
楼主
问题点数:0 回复次数:0
c#中的struct问题?
struct结构 默认的不就是公共(public)的吗
那为什么 在定义的成员中还要 再声明为public呢
例:
struct route{
public int var;
public string str;
}
去掉public不行吗
搜索更多相关主题的帖子:
struct
public
定义
route
var
2008-04-02 21:41
1
1/1页
1
参与讨论请移步原网站贴子:
https://bbs.bccn.net/thread-206840-1-1.html
关于我们
|
广告合作
|
编程中国
|
清除Cookies
|
TOP
|
手机版
编程中国
版权所有,并保留所有权利。
Powered by
Discuz
, Processed in 1.811077 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved