Question
just using c# only 3 Methods will be created One that asks for and returns the first name of the current user being created (should
just using c# only
3 Methods will be created
One that asks for and returns the first name of the current user being created (should take 0 arguments)
One that asks for and returns the last name of the current user being created (should take 0 arguments)
One that takes the current first and last name, and combines them into a logon name (should take 2 string arguments)
Heres the steps:
Call a method that will ask for the new users first name. Have it return that name as a string
Call a method that will ask for the new users last name. Have it return that name as a string
Call a method that will combine the first and last name into a username. The first and last name are this methods arguments. Return the string result.
For example, Sue + Baker will return SueBaker.
Output the result in a statement that uses the first name, last name, and user name.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started