¿Qué CLR se necesita para C # 6?
El título lo dice todo: ¿qué versión de CLR es / será necesaria para ejecutar programas de C# 6? La versión CLR es interesante para conocer los requisitos del sistema y los sistemas operativos compatibles.
Busqué en google [1] [2] y tenía una mirada a Wikipedia y MSDN pero no podía encontrar la información.
3 answers
Las mejoras del lenguaje de C # 6 son compatibles con.net framework a partir de la 2.0 a la 4.6. No requiere ninguna versión superior de.net framework, pero necesita una versión superior de Visual studio como VS 2015. C # 6 también está disponible para VS 2013 con addon https://github.com/dotnet/roslyn
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2016-07-04 06:03:10
Es la versión 4 de CLR la que se utiliza. Si usted prueba Environment.Version
en Visual Studio "14" CTPs obtendrá:
4.0.30319.35317
Con el código:
Console.WriteLine(Environment.Version);
También si miras Common Language Runtime (CLR) {[5] } en MSDN encontrarás:
.Net Framework Version CLR Version
4.5 (including 4.5.1 and 4.5.2) 4
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2014-09-05 20:04:15
Para tener C # 6 necesitas:
- VS 2013
- Descargar C # 6 desde Codeplex-Roslyn
VS 2013 continúa .NET 4.5.1
así que supongo que la respuesta a tu pregunta es 4.5.1
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2014-05-12 14:11:15