1. Course
  2. Functions A
  3. Function with parameters

Function with parameters


Last updated: 8/23/2020 Difficulty: Easy

Create a C# program that implements two methods to greet and say goodbye. The method of greeting has a parameter 'name' of text. Then you must run them from the main program.

Input

Jonny

Output

Hello Jonny
Good Bye!

Solution

Functions A

2 / 9

Android App


Practice C# anywhere with the free app for Android devices.

Android App

Exercises C# by difficulty


Learn C# at your own pace, the exercises are ordered by difficulty.

Make a donation


Your donations support our work and contribute to the maintenance of the app.

Advertising