HexLibraryHexLibrary
</> HexCodeSign inSign up
PythonJavaScriptTypeScriptCC++JavaPHPGoRustRubyBashSQLLuaPerlCOBOLPascalDelphiFortranDartSwiftC#JuliaGroovyRElixirHaskellKotlinScalaClassic ASPClipperMS-DOS
LESSONS
Introduction to C#VariablesData TypesOperatorsStringsListsConditions (if / else)Loops (for / while)Functions
REFERENCE
📖 Overview
🖥️ Output
📦 Variables & Types
🔢 Numbers & Math
✍️ String
📚 List & Dictionary
🔀 Condition & Loop
🧩 Function
C#›REFERENCE

C# — Command Reference

C#'s most used commands and methods — each with an explanation, working example, and real-world usage. The language of .NET applications, games (Unity), and the web (ASP.NET).

7 categories · 16 commands

🖥️

Output

Printing to the console and string interpolation.

Console.WriteLine()String interpolation ( $ )
2 commands →
📦

Variables & Types

var, const, and type conversion.

var / constint.Parse() / ToString()
2 commands →
🔢

Numbers & Math

Operators and the Math class.

Math operatorsMath.Sqrt() / Math.Pow() / Math.Abs()
2 commands →
✍️

String

Length, casing, searching, replacing, and splitting.

.Length / .ToUpper().Contains() / .Replace().Split() / string.Join()
3 commands →
📚

List & Dictionary

List<T> and Dictionary<K,V>.

List<T>Dictionary<K,V>
2 commands →
🔀

Condition & Loop

if/else, for, foreach, and while.

if / elsefor / foreachwhile
3 commands →
🧩

Function

Local functions, return, and the arrow (=>).

Local functionArrow function ( => )
2 commands →
HexLibraryHexLibrary

Learn programming more clearly. Every command is explained line by line with colors, reinforced with runnable exercises, test your code instantly — all in one place, free.

Learn

  • Home
  • Languages & Lessons
  • HexCode

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Use

Other Projects

  • HexToolz
  • Free Service Manuals
© 2026 HexLibrary · The clearest way to learn code