将所有内容写入数组 [英] Write Everything Within Array

查看:102
本文介绍了将所有内容写入数组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在制作一个新游戏,并且将所有内容存储在一个称为map的string [,]数组中.我将存储地图"中所有内容的所有坐标,并且我需要一种轻松地在地图"中写出所有内容的方法.我听说过这样的功能:

hey guys,

i am making a new game and i am storing everything within a string[,] array called map. i am going to store all coordinates of where everything is within ''map'' and i need a way to write out everything in ''map'' easily. i have heard of a function that goes like:

for (int i > 0; i > ''''; i++)
{
}



如您所见,我不知道如何使用它,但是我确信外面有人确实知道如何做这样的事情.

请帮忙!



as you can see, i don''t know how to use that, but i am sure that someone out there does know how to do something like that.

please help!

推荐答案

这些可能会帮助您:)

http://www.csharp-station.com/Tutorial/CSharp/lesson04 [ ^ ]
http://www.youtube.com/watch?v=hsvkMlmwPMo [
These might help you out :)

http://www.csharp-station.com/Tutorial/CSharp/lesson04[^]
http://www.youtube.com/watch?v=hsvkMlmwPMo[^]


这篇关于将所有内容写入数组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆