✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Чи є наступний код коректним?
object obj = newList<int>();
switch(obj)
{
case int i:
…
break;
case List<int> x when x.Count> 0:
…
break;
}