No, there are no octal number literals in C#.
For strings: Convert.ToInt32("12", 8)
returns 10
.
More Related Contents:
- Format Number like Stack Overflow (rounded to thousands with K suffix)
- Formatting Numbers as Strings with Commas in place of Decimals
- Formatting Large Numbers with .NET
- prime number takes 0 arguments issue [closed]
- extension method for List with both constraints class and struct [closed]
- How and when to use ‘async’ and ‘await’
- How do I remedy “The breakpoint will not currently be hit. No symbols have been loaded for this document.” warning?
- Tips for optimizing C#/.NET programs [closed]
- C# Convert string from UTF-8 to ISO-8859-1 (Latin1) H
- How to determine if a type implements a specific generic interface type
- Deserializing XML to Objects in C#
- Is it possible to do .NET binary serialization of an object when you don’t have the source code of the class?
- Need to perform Wildcard (*,?, etc) search on a string using Regex
- MS Dynamics CRM online 2011 – Authentication issues
- Invoking methods with optional parameters through reflection
- Code to validate SQL Scripts
- How to make a shallow copy of an array?
- Check if a property exists in a class
- Is it possible to mock out a .NET HttpWebResponse?
- Why we need Properties in C#
- How can I display a loading control while a process is waiting for be finished?
- Linq Query Group By and Selecting First Items
- Is .NET 4.0 Compatible with Windows XP SP2 or below? [closed]
- Why is WebBrowser_DocumentCompleted() firing twice?
- Tag helper not being processed in ASP.NET Core 2
- How to pass a table as parameter to MySqlCommand?
- Running self-hosted OWIN Web API under non-admin account
- Why do both the abstract class and interface exist in C#?
- Workflow Design Dilemma – State Machine, yes or no
- Decompressing password-protected ZIP files with .NET 4.5