Ad
  • Custom User Avatar

    This is a crazy mix of C# and Java code but actually it's neither of them.

    • In Java you print with System.out.println(); or (if you want to use C-like formatters) System.out.printf();.
    • In C# you print with Console.WriteLine(); (make sure to using System;). This method supports message format {0} but no C-like printf format %s

    Note also that in Java you cannot define methods with a lambda syntax.

  • Custom User Avatar