Not a decimal number; erroneous octal constant

image_pdfimage_print
   
 


using System;

public class MainClass{
    public static void Main() {
        int j = 0198;  // Not a decimal number; erroneous octal constant
        Console.WriteLine(j);
    }
}

   
     


This entry was posted in Data Types. Bookmark the permalink.