20
1
// Directions: Intermediate #2-3
2
// 1) Create two string variables in the Main method: strFirstName and strLastName
3
// 2) Create a new Method called GetFullName
4
// a) Add two input parameters for first name and last name.
5
// b) Method should return a string for full name in the following format "Foote, Brian"
6
// c) Put the keyword static between the public and string.
7
// 3) Call the method from the Main Method.
8
// 3) Output the full name to the console.
9
// 4) Submit your dotnetfiddle link in Blackboard.
10
using System;
11
12
public class Program
13
{
14
public static void Main()
15
{
16
17
}
18
19
20
}
Cached Result