Octal equivalent in C# April 4, 2023 by Tarik No, there are no octal number literals in C#. For strings: Convert.ToInt32("12", 8) returns 10.