CSharp: Difference between revisions

From The Bytecode Wiki
Jump to navigation Jump to search
m (Zooty moved page C to CSharp without leaving a redirect)
No edit summary
 
Line 6: Line 6:
* Variables are assigned with an equals(=) sign, but are compared with two equals (==) signs.
* Variables are assigned with an equals(=) sign, but are compared with two equals (==) signs.
* Square brackets are used with [[array]]s
* Square brackets are used with [[array]]s
[[Category:Languages]]

Latest revision as of 05:40, 2 November 2017

C# is a multi-paradigm programming language with strong typing, functional, generic, OOP and component oriented programming disciplines.

The core syntax of C# is similar to other C-style languages (such as C, C++ and Java)

  • Semicolons at the end of statements
  • Curly brackets to group statements
  • Variables are assigned with an equals(=) sign, but are compared with two equals (==) signs.
  • Square brackets are used with arrays