๐ŸŽฎ Unity Study/C#

[C#] C# ๋ฒ„์ „๋ณ„ ์ถ”๊ฐ€๊ธฐ๋Šฅ ์‚ฌํ•ญ, .NET & Visual Studio ๋ฒ„์ „

ibelieveinme 2023. 8. 18. 18:21
728x90

ํ˜„์žฌ C# ๋ฒ„์ „์€ 11 (2022๋…„ 11์›” release) ๊นŒ์ง€ ์—…๋ฐ์ดํŠธ ๋˜์—ˆ๋‹ค.

๊ทธ๋ฆฌ๊ณ  C#์€ .NET Framwork ๋ฒ„์ „๊ณผ Visual Studio ๋ฒ„์ „์ด ๋ฐ€์ ‘ํ•œ ๊ด€๋ จ์ด ์žˆ๋‹ค.

 

[Target๋ฒ„์ „C# ์–ธ์–ด ๋ฒ„์ „ ๊ธฐ๋ณธ๊ฐ’]

Target .NET Version Visual Studio Version  C# ์–ธ์–ด Version ๊ธฐ๋ณธ๊ฐ’
.NET 7.x VS 2022 C# 11
.NET 6.x VS 2017 C# 10
.NET 5.x VS 2019 16.8 C# 9.0
.NET Core 3.x VS 2019 16.3 C# 8.0
.NET Standard 2.0 VS 2017 C# 7.3
.NET Standard 1.x VS 2017 C# 7.3
.NET Framework ๋ชจ๋‘ VS 2017 C# 7.3

์ฆ‰ C# 11 ๋ฒ„์ „์„ ์‚ฌ์šฉํ•˜๋ ค๋ฉด .NET 7 ๋ฒ„์ „ ์ด์ƒ ์„ค์น˜ํ•ด์•ผํ•˜๊ณ , Visual Studio 2022 ์ด์ƒ์„ ์„ค์น˜ํ•ด์•ผ ํ•œ๋‹ค. (ํ˜„์žฌ Visual Studio Version ์€ 2022๊นŒ์ง€ ๋‚˜์™”๋‹ค.)

 

 

cf) .NET ์˜ ๋ฒ„์ „ ํ™•์ธ ๋ฐฉ๋ฒ•์€ ์•„๋ž˜์™€ ๊ฐ™๋‹ค.

Window/macOS/Linux: dotnet --list-sdks

 

https://learn.microsoft.com/ko-kr/dotnet/core/install/how-to-detect-installed-versions?pivots=os-windows 

 

Windows, Linux ๋ฐ macOS์— ์„ค์น˜๋œ .NET ๋ฒ„์ „ ํ™•์ธ - .NET

์ปดํ“จํ„ฐ์— ์„ค์น˜๋œ .NET ๋ฒ„์ „์„ ํ™•์ธํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋ด…๋‹ˆ๋‹ค. ์—ฌ๊ธฐ์—๋Š” .NET ๋Ÿฐํƒ€์ž„ ๋ฐ SDK๊ฐ€ ํฌํ•จ๋ฉ๋‹ˆ๋‹ค.

learn.microsoft.com

 

[C# ๋ฒ„์ „์— ๋”ฐ๋ฅธ ์ฃผ์š” ๋ณ€ํ™”]

https://learn.microsoft.com/ko-kr/dotnet/csharp/whats-new/csharp-version-history

 

C#์˜ ์—ญ์‚ฌ - C# ๊ฐ€์ด๋“œ

์ด ์–ธ์–ด์˜ ์ดˆ์ฐฝ๊ธฐ ๋ฒ„์ „์€ ์–ด๋–ค ๋ชจ์Šต์ด์—ˆ์œผ๋ฉฐ ์ดํ›„ ์–ด๋–ป๊ฒŒ ๋ณ€ํ–ˆ๋Š”๊ฐ€?

learn.microsoft.com

 

https://see-ro-e.tistory.com/238

 

[C#] C# ๋ฒ„์ „๋ณ„ ์ฃผ์š” ๋ณ€ํ™”

C# 6.0์ดํ›„์˜ ๋ฒ„์ „๋“ค์—์„œ ๊ฐœ์ธ์ ์œผ๋กœ ์ฃผ์š”ํ•œ ๋ณ€ํ™”๋ผ๊ณ  ์ƒ๊ฐํ•˜๋Š” ๋ณ€ํ™”๋ฅผ ์ •๋ฆฌํ•ด ๋ณด์•˜์Šต๋‹ˆ๋‹ค. ๋น„๋™๊ธฐ ๊ณ„์—ด์€ ์ฃผ์š”ํ•œ ๋ณ€ํ™”์ด๊ธด ํ•˜์ง€๋งŒ ๊ฐœ์ธ์ ์œผ๋กœ ๊ทธ๋ ‡๊ฒŒ ์ž์ฃผ ์‚ฌ์šฉํ•˜์ง€ ์•Š๊ณ  ํ•„์š”ํ• ๋•Œ ์ฐพ์•„๋ณด๋Š” ํŽธ

see-ro-e.tistory.com

728x90

'๐ŸŽฎ Unity Study > C#' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

[C#][Unity] Event  (0) 2023.08.18
[C#] ? Question Mark  (0) 2023.08.18
[C#] Hash ?  (0) 2023.08.17
[C#] lambda์‹์ด๋ž€ ? ์–ธ์ œ ์‚ฌ์šฉํ• ๊นŒ ?  (0) 2023.08.17
[C#] ๋™๊ธฐ/๋น„๋™๊ธฐ (feat. Coroutine, Task, async/await)  (0) 2023.08.16