Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
CSharp7
PatternMatching1
PointlessConstantMatch
CSharp7.PatternMatching1.PointlessConstantMatch C# (CSharp) Метод
Документация по классу PatternMatching1
Показать файл
Открыть проект
PointlessConstantMatch()
статический
приватный
Метод
static
private
PointlessConstantMatch
(
int
x
) :
void
x
int
Результат
void
static void PointlessConstantMatch(int x) { if (x is 5) { Console.WriteLine("Yes, x is 5"); } }
PatternMatching1
LessPointlessConstantMatch
Main
PointlessConstantMatch
PrintInt32s