C# int转short
2012-07-03 09:52 硕硕 阅读(5994) 评论(0) 编辑 收藏 举报private struct GObject
{
public short a;
public short b;
public object c;
public object d;
public object e;
public object f;
}
private GPropertyStore.GObject[] gObject;//c
(short)((int)((ushort)this.gObject[num3].b) | 1 << (int)num)