KO CSharp Directive Line - LIHACHTETAN/ClassicUO-Bad-Newbie-CSharp-Scripts-IDE GitHub Wiki
ะฃะบัะฐัะฝััะบะฐ ยท ะ ัััะบะธะน ยท English ยท Deutsch ยท Franรงais ยท Italiano ยท Espaรฑol ยท ็น้ซไธญๆ ยท ๆฅๆฌ่ช ยท ํ๊ตญ์ด
์ด๊ธฐ ์์น ํ์
ํธ๋๋ถ C# ยท ์ค์ฉ ๊ฐ์ด๋
์ง๋จ์์ ์ค ๋ฒํธ์ ํ์ผ ์ด๋ฆ์ ๋ณ๊ฒฝํ๊ฑฐ๋ ๋๋ฒ๊ฑฐ์์ ํด๋น ์น์ ์ ์จ๊น๋๋ค. ์ํ ์ค์ธ ์์ ์ ๋ณ๊ฒฝํ์ง ์์ต๋๋ค.
๊ฐ๋จํ ์์ (Example.cs)
์ด ์์ ๋ฅผ Example.cs๋ก ๋ฐ๋ก ์ ์ฅํ๊ณ ์ด ํ์ด์ง์ ๋ค๋ฅธ ์์ ์ ๋
๋ฆฝ์ ์ผ๋ก ์คํํ์ธ์.
Example.cs:
// PROJECT-EXAMPLE
#line 100 "Original.cs"
System.Console.WriteLine("Mapped");
#line default
๊ฒฐ๊ณผ:
Mapped
ํต์ฌ๋ก
#line number "file" / #line hidden / #line default
์์ 1
#line 100 "Original.cs"
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.IO;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
public static class Program
{
public static async Task Main(string[] args)
{
Console.WriteLine("Mapped");
}
}
์์ 2
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.IO;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
public static class Program
{
public static async Task Main(string[] args)
{
#line hidden
int value = 3;
#line default
Console.WriteLine(value);
}
}
๊ณต์ ์ถ์ฒ: Microsoft ํ์ต.