Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 318 Bytes

File metadata and controls

20 lines (16 loc) · 318 Bytes

C#

Function Declaration

int challenge(int x, int y, int z) => x + y + z;

int challenge(int x, int y, int z) {
  return x + y + z;
}

Argument and return types can be modified.

Logging

int challenge(int x, int y, int z) {
  Console.WriteLine("{0} {1}", x*y, y*z);
  return x + y + z;
}