warabe sander

warabe sander

  • NA
  • 7
  • 1.4k

How does c# keywords work?

May 9 2019 3:26 PM
Hi there,
 
Obviously as indicated by my question I'm fairly new to programming  and seeking some clarification. Now my question is  why are keywords not called by class name? For example if I wanted to use the writeline method I first have to specify the namespace it belongs to(system) and then the class it belongs to (Console). Why are keywords exempt from this? why not   ClassName.if(){} and instead just if(){}?

Answers (1)