input: from typing import List
  
  
  def power(x: int, y: int) -> int:
      """ Convert a given Python program to a C# program.
      >>> power(2, 3)
      8
      >>> power(5, 0)
      1
      >>> power(10, 2)
      100
      """
output:     if y == 0:
          return 1
      result = 1
      for _ in range(y):
          result *= x
      return result