c sharp base code