Skip to ContentMini Arrow Down Icon
  • Codecademy Logo
  • Codecademy Logo
AI
C
C#
C++
Cloud Computing
Command Line
CSS
Cybersecurity
Docs Community
Emojicode
General
Git
Go
HTML
Java
JavaScript
Kotlin
Markdown
Open Source
PHP
Python
Python:Matplotlib
Python:NumPy
Python:Pandas
Python:Seaborn
R
React
Ruby
SQL
Swift
SwiftUI
TypeScript
UI and UX Design
  1. Docs/
  2. C#

C#

C# is a general-purpose programming language developed by Microsoft and released in 2000. It is used for a variety of tasks such as web apps, to desktop apps, to mobile apps, and games.

C# was designed as a C-like language that utilizes Microsoft’s .Net Framework. The core syntax is similar to C, C++, and Java.

C# Concepts

  • Arrays
  • Comments
  • Data Types
  • Loops
  • Math Functions
  • Methods
  • Operators
  • Strings
  • Switch
  • Variables
Interested in helping build Docs? Read the Contribution Guide or share your thoughts in this feedback form.

Learn C# on Codecademy

Career path

Computer Science

Looking for an introduction to the theory behind programming? Master Python while learning data structures, algorithms, and more!
Checker Dense
Includes 6 Courses
Checker Dense
Certificate Icon
With Professional Certification
Checker Dense
Level Icon
Beginner Friendly
82 Lessons
Free course

Learn C#

Learn Microsoft's popular C# programming language, used to make websites, mobile apps, video games, VR, and more.
Checker Dense
Level Icon
Beginner Friendly
20 Lessons

Company

  • About
  • Careers
  • Affiliates
    • Twitter Icon
    • Facebook Icon
    • Instagram Icon
    • Youtube Icon

Resources

  • Articles
  • Blog
  • Cheatsheets
  • Code challenges
  • Docs
  • Projects
  • Videos
  • Workspaces

Support

  • Help Center

Resources

  • Articles
  • Blog
  • Cheatsheets
  • Code challenges
  • Docs
  • Projects
  • Videos
  • Workspaces

Support

  • Help Center

Plans

  • Paid memberships
  • For students
  • Business solutions

Community

  • Forums
  • Chapters
  • Events
  • Discord

Codecademy from Skillsoft

Codecademy from Skillsoft

Subjects

  • AI
  • Cloud Computing
  • Code Foundations
  • Computer Science
  • Cybersecurity
  • Data Analytics
  • Data Science
  • Data Visualization
  • Developer Tools
  • DevOps
  • Game Development
  • IT
  • Machine Learning
  • Math
  • Mobile Development
  • Web Design
  • Web Development

Languages

  • Bash
  • C
  • C++
  • C#
  • Go
  • HTML & CSS
  • Java
  • JavaScript
  • Kotlin
  • PHP
  • Python
  • R
  • Ruby
  • SQL
  • Swift

Career building

  • Career paths
  • Career services
  • Interview prep
  • Professional certification
  • —
  • Full Catalog
  • Beta Content
  • Roadmap

Mobile

  • Download on the App Store
  • Get it on Google Play

Mobile

  • Download on the App Store
  • Get it on Google Play
  • Privacy Policy
  • Cookie Policy
  • Do Not Sell My Personal Information
  • Terms
Made with ❤️in NYC © 2023 Codecademy