上一页 1 2 3 4 5 6 7 8 9 ··· 30 下一页
摘要: http://visualstudiogallery.msdn.microsoft.com/6e536faa-ce73-494a-a746-6a14753015f1 http://visualstudiogallery.msdn.microsoft.com/7ab11d2a-f413-4ed6-b3... 阅读全文
posted @ 2014-07-31 08:11 softimagewht 阅读(992) 评论(0) 推荐(0)
摘要: http://www.tracefact.net/CSharp-Programming/Delegates-and-Events-in-CSharp.aspx 阅读全文
posted @ 2014-07-30 17:36 softimagewht 阅读(147) 评论(0) 推荐(0)
摘要: 1. 避免将多个类放在一个文件里面。2. 一个文件应该只有一个命名空间,避免将多个命名空间放在同一个文件里面。3. 一个文件最好不要超过500行的代码(不包括机器产生的代码)。4. 一个方法的代码长度最好不要超过25行。5. 避免方法中有超过5个参数的情况。使用结构来传递多个参数。6. 每行代码不要... 阅读全文
posted @ 2014-07-26 23:28 softimagewht 阅读(198) 评论(0) 推荐(0)
摘要: 在PC上和IOS上读取XML文件的方式略有差别,经测试,IOS上不支持如下方法载入XML文件:XmlDocument xmlDoc = new XmlDocument();xmlDoc.Load("Assets/Resources/text.xml");IOS上载入XML的正确方法有2种:(1)方法... 阅读全文
posted @ 2014-07-24 09:05 softimagewht 阅读(1606) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2014-07-24 08:45 softimagewht 阅读(1) 评论(0) 推荐(0)
摘要: using (FileStream fileStream = File.Open(fileName,FileMode.Open,FileAccess.Read,FileShare.ReadWrite)) 阅读全文
posted @ 2014-07-23 17:42 softimagewht 阅读(204) 评论(0) 推荐(0)
摘要: using System.Text.RegularExpressions;public class ReadData : MonoBehaviour { string t = "asa df sad dfg asdf dsfg"; string[] split = Regex.Split(t,@"\... 阅读全文
posted @ 2014-07-23 16:47 softimagewht 阅读(138) 评论(0) 推荐(0)
摘要: 一,哈希表(Hashtable)简述在.NET Framework中,Hashtable是System.Collections命名空间提供的一个容器,用于处理和表现类似key/value的键值对,其中key通常可用来快速查找,同时key是区分大小写;value用于存储对应于key的值。Hashtab... 阅读全文
posted @ 2014-07-21 16:27 softimagewht 阅读(332) 评论(0) 推荐(0)
摘要: 在C#中,Dictionary提供快速的基于兼职的元素查找。他的结构是这样的:Dictionary ,当你有很多元素的时候可以使用它。它包含在System.Collections.Generic名空间中。在使用前,你必须声明它的键类型和值类型。方法/步骤要使用Dictionary集合,需要导入C#泛... 阅读全文
posted @ 2014-07-21 14:58 softimagewht 阅读(359) 评论(0) 推荐(0)
摘要: http://unity3d.9tech.cn/news/2013/1114/38624.htmlhttp://blog.csdn.net/gxq741718618gxq/article/details/8604828http://blog.csdn.net/chiuan/article/detai... 阅读全文
posted @ 2014-07-11 13:01 softimagewht 阅读(176) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 30 下一页