CSharp: Difference between revisions

From The Bytecode Wiki
Jump to navigation Jump to search
(Created page with "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...")
 
No edit summary
 
(One intermediate revision by one other user not shown)
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