使用軟體: Visual c# 2008 Express
-------------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class UsingFloatPoint2
{
static void Main(string[] args)
{
char theChar1 = 'a';
char theChar2 = '文';
char theChar3 = '\x0059';
char theChar4 = '\u0058';
char theChar5 = '\a'; //鬧鐘(警示)\u0007
char theChar6 = '\b'; //退格鍵\u0008
char theChar7 = '\t'; //水平tab定位鍵\u0009
char theChar8 = '\r'; //換行字元\u000D
char theChar9 = '\v'; //垂直tab定位鍵\u000B
char theChar10 = '\f'; //換頁\u000C
char theChar11 = '\n'; //換行\u000A
char theChar12 = '\'';
//
Console.WriteLine(theChar1);
Console.WriteLine(theChar2);
Console.WriteLine(theChar3);
Console.WriteLine(theChar4);
Console.WriteLine(theChar5);
Console.WriteLine(theChar6);
Console.WriteLine(theChar7);
Console.WriteLine(theChar8);
Console.WriteLine(theChar9);
Console.WriteLine(theChar10);
Console.WriteLine(theChar11);
Console.WriteLine(theChar12);
//
Console.ReadLine();
}
}
}
UsingFloatPoint2
標籤: C#
訂閱:
張貼留言 (Atom)
0 意見:
張貼留言