Код: Выделить всё
public List DoSomething(List aList)
{
//does something and return the same list
}
_ = DoSomething(myList);
DoSomething(myList);
Подробнее здесь: https://stackoverflow.com/questions/643 ... a-variable
Код: Выделить всё
public List DoSomething(List aList)
{
//does something and return the same list
}
_ = DoSomething(myList);
DoSomething(myList);