想学c#的请进 (0分)

  • 主题发起人 主题发起人 ygsoft
  • 开始时间 开始时间
Public, which is selected by including a public modifier in the member declaration. The intuitive meaning of public is “access not limited”.
Protected internal (meaning protected or internal), which is selected by including both a protected and an internal modifier in the member declaration. The intuitive meaning of protected internal is “access limited to this program or types derived from the containing class”.
Protected, which is selected by including a protected modifier in the member declaration. The intuitive meaning of protected is “access limited to the containing class or types derived from the containing class”.
Internal, which is selected by including an internal modifier in the member declaration. The intuitive meaning of internal is “access limited to this program”.
Private, which is selected by including a private modifier in the member declaration. The intuitive meaning of private is “access limited to the containing type”.
 
//OK
void G() {
int j = (j = 1);
}
//OK
void G() {
int j;
j = 1;
}
//ERROR
void G() {
j = 1;
int j ;
}
//ERROR
int j ;
void G() {
j = 1;
}
//ERROR
int j ;
void G() {
j = 1;
int j;
}
 
value-type:
struct-type
enum-type
struct-type:
type-name
simple-type
simple-type:
numeric-type
bool
numeric-type:
integral-type
floating-point-type
decimal
integral-type:
sbyte
byte
short
ushort
int
uint
long
ulong
char
floating-point-type:
float
do
uble
enum-type:
type-name
NOTE:It is not possible for any type to derive from a value type
 
好 阿
89645221
 
我想学 22005783
 
请问大家怎么样才能学好程序?
 
我也学!就是时间不多:D
87163205
 
關健字params的使用﹕
1.用于函數的動態數組參數﹐即數組的長度是可變的
2.在一個函數的參數列表中只能出現一次﹐且只能修飾最后一個參數
 
110719599,原来搞delphi的,现在想时髦一下,来个C$#
 
我想加入
 
初学ASP+C#,请多多指教。[:)]81066054
 
qq:57313547.想学C#
 
qq:304743657,
也想学C#
 
后退
顶部