ASP를 배워라.Net System.Char 구조
/* */
MaxValue //65535
MinValue //0
/* */
Char.ConvertFromUtf32() // Unicode
Char.ConvertToUtf32() // Unicode
Char.Equals() //=
Char.GetNumericValue() // , Double
Char.GetUnicodeCategory() //
Char.IsControl() //?
Char.IsDigit() //? (0..9)
Char.IsHighSurrogate() //? (U+D800...U+DBFF)
Char.IsLetter() //?
Char.IsLetterOrDigit() //? ?
Char.IsLower() //? (a..z )
Char.IsLowSurrogate() //? (U+DC00...U+DFFF)
Char.IsNumber() //? (0..9 )
Char.IsPunctuation() //? ?
Char.IsSeparator() //? ( )
Char.IsSurrogate() //?
Char.IsSurrogatePair() // Char
Char.IsSymbol() //? ($ + = < > ^ ` | )
Char.IsUpper() //? (A..Z )
Char.IsWhiteSpace() //?
Char.Parse() // String Char
Char.ToLower() //
Char.ToLowerInvariant() // ,
Char.ToString() //
Char.ToUpper() //
Char.ToUpperInvariant() // ,
Char.TryParse() // String Char
/* */
CompareTo() // ,
GetNumericValue():
protected void Button1_Click(object sender, EventArgs e)
{
double f1 = char.GetNumericValue('9'); // 9
double f2 = char.GetNumericValue('A'); //-1
double f3 = char.GetNumericValue(' '); //-1
double f4 = char.GetNumericValue("A1B2", 3); // 2
TextBox1.Text = string.Concat(f1, "
", f2, "
", f3, "
", f4);
}
ConvertFromUtf32()、ConvertToUtf32():
protected void Button1_Click(object sender, EventArgs e)
{
string s1 = char.ConvertFromUtf32(65); //A
string s2 = char.ConvertFromUtf32(0x4e07); //
int n1 = char.ConvertToUtf32("ABC", 1); //66
int n2 = char.ConvertToUtf32(" ", 0); //19975
TextBox1.Text = string.Concat(s1, "
", s2, "
", n1, "
", n2);
}
GetUnicodeCategory():
protected void Button1_Click(object sender, EventArgs e)
{
char c;
string str = "";
for (int i = 20; i < 256; i++)
{
c = Convert.ToChar(i);
str += string.Format("{0}\t{1}\t{2}
", i, c, char.GetUnicodeCategory(c));
}
TextBox1.Text = str;
}
/* :
20 Control
21 Control
22 Control
23 Control
24 Control
25 Control
26 Control
27 Control
28 Control
29 Control
30 Control
31 Control
32 SpaceSeparator
33 ! OtherPunctuation
34 " OtherPunctuation
35 # OtherPunctuation
36 $ CurrencySymbol
37 % OtherPunctuation
38 & OtherPunctuation
39 ' OtherPunctuation
40 ( OpenPunctuation
41 ) ClosePunctuation
42 * OtherPunctuation
43 + MathSymbol
44 , OtherPunctuation
45 - DashPunctuation
46 . OtherPunctuation
47 / OtherPunctuation
48 0 DecimalDigitNumber
49 1 DecimalDigitNumber
50 2 DecimalDigitNumber
51 3 DecimalDigitNumber
52 4 DecimalDigitNumber
53 5 DecimalDigitNumber
54 6 DecimalDigitNumber
55 7 DecimalDigitNumber
56 8 DecimalDigitNumber
57 9 DecimalDigitNumber
58 : OtherPunctuation
59 ; OtherPunctuation
60 < MathSymbol
61 = MathSymbol
62 > MathSymbol
63 ? OtherPunctuation
64 @ OtherPunctuation
65 A UppercaseLetter
66 B UppercaseLetter
67 C UppercaseLetter
68 D UppercaseLetter
69 E UppercaseLetter
70 F UppercaseLetter
71 G UppercaseLetter
72 H UppercaseLetter
73 I UppercaseLetter
74 J UppercaseLetter
75 K UppercaseLetter
76 L UppercaseLetter
77 M UppercaseLetter
78 N UppercaseLetter
79 O UppercaseLetter
80 P UppercaseLetter
81 Q UppercaseLetter
82 R UppercaseLetter
83 S UppercaseLetter
84 T UppercaseLetter
85 U UppercaseLetter
86 V UppercaseLetter
87 W UppercaseLetter
88 X UppercaseLetter
89 Y UppercaseLetter
90 Z UppercaseLetter
91 [ OpenPunctuation
92 \ OtherPunctuation
93 ] ClosePunctuation
94 ^ ModifierSymbol
95 _ ConnectorPunctuation
96 ` ModifierSymbol
97 a LowercaseLetter
98 b LowercaseLetter
99 c LowercaseLetter
100 d LowercaseLetter
101 e LowercaseLetter
102 f LowercaseLetter
103 g LowercaseLetter
104 h LowercaseLetter
105 i LowercaseLetter
106 j LowercaseLetter
107 k LowercaseLetter
108 l LowercaseLetter
109 m LowercaseLetter
110 n LowercaseLetter
111 o LowercaseLetter
112 p LowercaseLetter
113 q LowercaseLetter
114 r LowercaseLetter
115 s LowercaseLetter
116 t LowercaseLetter
117 u LowercaseLetter
118 v LowercaseLetter
119 w LowercaseLetter
120 x LowercaseLetter
121 y LowercaseLetter
122 z LowercaseLetter
123 { OpenPunctuation
124 | MathSymbol
125 } ClosePunctuation
126 ~ MathSymbol
127 Control
128 Control
129 Control
130 Control
131 Control
132 Control
133
Control
134 Control
135 Control
136 Control
137 Control
138 Control
139 Control
140 Control
141 Control
142 Control
143 Control
144 Control
145 Control
146 Control
147 Control
148 Control
149 Control
150 Control
151 Control
152 Control
153 Control
154 Control
155 Control
156 Control
157 Control
158 Control
159 Control
160 SpaceSeparator
161 ¡ OtherPunctuation
162 ¢ CurrencySymbol
163 £ CurrencySymbol
164 ¤ CurrencySymbol
165 ¥ CurrencySymbol
166 ¦ OtherSymbol
167 § OtherSymbol
168 ¨ ModifierSymbol
169 © OtherSymbol
170 ª LowercaseLetter
171 « InitialQuotePunctuation
172 ¬ MathSymbol
173 DashPunctuation
174 ® OtherSymbol
175 ¯ ModifierSymbol
176 ° OtherSymbol
177 ± MathSymbol
178 ² OtherNumber
179 ³ OtherNumber
180 ´ ModifierSymbol
181 µ LowercaseLetter
182 ¶ OtherSymbol
183 · OtherPunctuation
184 ¸ ModifierSymbol
185 ¹ OtherNumber
186 º LowercaseLetter
187 » FinalQuotePunctuation
188 ¼ OtherNumber
189 ½ OtherNumber
190 ¾ OtherNumber
191 ¿ OtherPunctuation
192 À UppercaseLetter
193 Á UppercaseLetter
194 Â UppercaseLetter
195 Ã UppercaseLetter
196 Ä UppercaseLetter
197 Å UppercaseLetter
198 Æ UppercaseLetter
199 Ç UppercaseLetter
200 È UppercaseLetter
201 É UppercaseLetter
202 Ê UppercaseLetter
203 Ë UppercaseLetter
204 Ì UppercaseLetter
205 Í UppercaseLetter
206 Î UppercaseLetter
207 Ï UppercaseLetter
208 Ð UppercaseLetter
209 Ñ UppercaseLetter
210 Ò UppercaseLetter
211 Ó UppercaseLetter
212 Ô UppercaseLetter
213 Õ UppercaseLetter
214 Ö UppercaseLetter
215 × MathSymbol
216 Ø UppercaseLetter
217 Ù UppercaseLetter
218 Ú UppercaseLetter
219 Û UppercaseLetter
220 Ü UppercaseLetter
221 Ý UppercaseLetter
222 Þ UppercaseLetter
223 ß LowercaseLetter
224 à LowercaseLetter
225 á LowercaseLetter
226 â LowercaseLetter
227 ã LowercaseLetter
228 ä LowercaseLetter
229 å LowercaseLetter
230 æ LowercaseLetter
231 ç LowercaseLetter
232 è LowercaseLetter
233 é LowercaseLetter
234 ê LowercaseLetter
235 ë LowercaseLetter
236 ì LowercaseLetter
237 í LowercaseLetter
238 î LowercaseLetter
239 ï LowercaseLetter
240 ð LowercaseLetter
241 ñ LowercaseLetter
242 ò LowercaseLetter
243 ó LowercaseLetter
244 ô LowercaseLetter
245 õ LowercaseLetter
246 ö LowercaseLetter
247 ÷ MathSymbol
248 ø LowercaseLetter
249 ù LowercaseLetter
250 ú LowercaseLetter
251 û LowercaseLetter
252 ü LowercaseLetter
253 ý LowercaseLetter
254 þ LowercaseLetter
255 ÿ LowercaseLetter
*/
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
다양한 언어의 JSONJSON은 Javascript 표기법을 사용하여 데이터 구조를 레이아웃하는 데이터 형식입니다. 그러나 Javascript가 코드에서 이러한 구조를 나타낼 수 있는 유일한 언어는 아닙니다. 저는 일반적으로 '객체'{}...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.