Again, C and C++ programmers need to be aware that the old tricks of testing a condition for a
value “not equal to zero” will not work in C#. Let’s say you want to see whether the string you are
working with is longer than zero characters. You may be tempted to write
static void ExecuteIfElse()
{
Do'stlaringiz bilan baham: