瑞星卡卡安全论坛技术交流区系统软件 c#初级入门问答(第一个答对有奖啊)

123   2  /  3  页   跳转

c#初级入门问答(第一个答对有奖啊)

不知道答对了楼主有什么奖励啊
gototop
 

好难呀!请问一下大哥、大姐,这个是C语言吗??
gototop
 

C#
gototop
 

请问斑竹:
    C、C++、VC、VC++、C# 的根本区别是什么啊,小弟不才,只会一点C,多谢指教!!
gototop
 

什么呀.
我看不懂

附件附件:

下载次数:174
文件类型:image/pjpeg
文件大小:
上传时间:2006-1-10 14:12:17
描述:



gototop
 

上面的图谁见过
gototop
 

scores[4]==32761-1 对不对啊? I=0 !I++ 最大因该是32761 但要 减1  是不是啊 斑竹
gototop
 

是数组元素scores[4][0]的地址
可以代表数组scores[4][0]至scores[4][7]的引用。
gototop
 


// arrays.cs
using System;
class DeclareArraysSample
{
    public static void Main()
    {
        // Single-dimensional array
        int[] numbers = new int[5];

        // Multidimensional array
        string[,] names = new string[5,4];

        // Array-of-arrays (jagged array)
        byte[][] scores = new byte[5][];

        // Create the jagged array
        for (int i = 0; i < scores.Length; i++)
        {
            scores = new byte[i+3];
        }

    }
}
gototop
 

【Create the jagged array
for (int i = 0; i < scores.Length; i++)
回复“江波”的帖子】
gototop
 
123   2  /  3  页   跳转
页面顶部
Powered by Discuz!NT