![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Csharp数据结构
古拉加斯戒了酒c
这个作者很懒,什么都没留下…
展开
-
C# String
C# String API 方法详细 飞书文档C# Tostring格式public class StringTest : MonoBehaviour{ int number = 2345; void Start() { //string value = number.ToString("n");//2,345.00 //string value = number.ToString("c");//¥2,345.00 //strin原创 2021-09-28 15:32:24 · 127 阅读 · 0 评论 -
C# Dictionary
C# Dictionary 属性、方法using System.Collections;using System.Collections.Generic;using UnityEngine;public class DictionaryTest : MonoBehaviour{ Dictionary<string, string> keyValues = new Dictionary<string, string>(); private string ou原创 2021-09-27 15:57:37 · 131 阅读 · 0 评论 -
C# HashSet
C# HashSet 用法using System.Collections.Generic;using UnityEngine;public class Test : MonoBehaviour{private static string[] hello = new string[] {“one”,“two”,“three”,“four” };HashSet companyTeams = new HashSet(hello);string[] world = new string[] { “o原创 2021-09-27 10:56:49 · 193 阅读 · 0 评论