/
aprogrammer
/
dotnet-docs
Обзор
Документация
Войти
/
aprogrammer
/
dotnet-docs
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
docs/csharp/language-reference/compiler-messages/snippets/UsingDirectives/Program.cs
19 строк
469 B
Bill Wagner
Add preview docs for Alias any type (#35112)
16 май 2023, 20:14
Не верифицирован
16 май 2023, 20:14
2954d90
Код
Авторство
О чём код?
// <GlobalUsing> global using System.Text; // </GlobalUsing> // <UsingStatic> using static System.Console; // </UsingStatic> // <UsingUnsafeStatic> using static unsafe UnsafeExamples.UnsafeType; // </UsingUnsafeStatic> // <UsingAlias> using JSON = System.Text.Json; using ValueMap = System.Collections.Generic.Dictionary<string, decimal>; using TimedData = (System.DateTime timeRecorded, decimal value); // </UsingAlias> Console.WriteLine("Using directives");