Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

{} is this used for code blocks in c#

/* code blocks are the lines of code between {} */
// for example
if (1==1) 
{
  Console.WriteLine("fact"); }
// the code block would be Console.WriteLine("fact"); not sure if {} is 
// included in it.
 
PREVIOUS NEXT
Tagged: #code #blocks
ADD COMMENT
Topic
Name
1+1 =