728x90
C# 6.0 에서 새로워진 것이 무엇인지 비교해놓은 곳이 있다.
http://www.codeproject.com/Tips/1023426/Whats-New-in-Csharp
before C# 6.0
string name = "Murphy Cooper";
string planet = "Cooper Station";
WriteLine("{0} is actually named after {1}", planet, name);
After C# 6.0
string name = "Murphy Cooper";
string planet = "Cooper Station";
/* Magic happens here */
WriteLine($"{planet} is actually named after {name}");
변수 대입하는 걸 직관적으로 이해할 수 있게 변경한 거 같다.
다른 자세한 사항은 위 URL 링크를 눌러서 들어가 보면 된다.
728x90
'C# > Visual Studio' 카테고리의 다른 글
C# 메인폼 변경하는 방법 (0) | 2015.09.15 |
---|---|
C# statusStrip 메뉴 (2) | 2015.09.10 |
C# Name 명칭 변경 (0) | 2015.09.02 |
C# 윈도우폼(로그인폼) 실행 팁 배우기 (0) | 2015.08.17 |
C# 윈도우폼 ContextMenu 만들기 (0) | 2015.08.02 |