这篇文章主要介绍了C# 根据表格偶数、奇数加载不同颜色,需要的朋友可以参考下效果图: 偶数随机Random evenRanm = new Random();奇数随机Random oddRanm = new Random(