行业知识
C# 循环
2026-11-30 21:51:43
来源:互联网转载
C#循环
代码
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApp1{ class Test { static void Main(string[] args) { int a = 5; int[] b = { 1, 2, 3, 4, 5, 6, 7, 8 }; int c = 0; for (int i = 0; i 运行结果