Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

if else statement c#

if (x == 0)
{
  Console.WriteLine("hello world");
}
else
{
  return 5;
}
Source by wiki.swisscom.com #
 
PREVIOUS NEXT
Tagged: #statement
ADD COMMENT
Topic
Name
2+5 =