C# Answers

Questions answered by Experts: 1 362

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search

input and output operations in the files
I need to write a C# program to read in a text file with following data

Name IPaddress sector department switch port
Randy 192.168.1.25 4 HR 3
Matthew 192.168.1.40 4 HR 15
Hoobert 192.168.2.6 5 CS 4
Reeve 192.168.2.11 5 CS 12
Mary 192.168.4.8 IT 9

and more on the list. and do some modification to the current list like changing the IP segment based on either condition, example base on department CS(customer service)segment has change from 192.168.2.*** to 192.168.16.*** .

secondly am require to add text among all the lines like
"set change mary at 192.168.4.8 from IT port 9 with activation.
write a program in c# that allows the user to open file Test.text located at "E:/OfficeDocuments/Test.text" the user input string which should be copied to the file
Create a small Sports database with two tables: Team and Athlete. The Team table should include fields for the type of team (e.g., basketball), coach’s name (both last and first), and the season the sport is most active (S for spring, F for Fall, or B for both). The Athlete table should include fields for student number, student first and last names, and type of sport. Use the same identifier for type of sport in both tables to enable the tables to be related and linked. Populate the tables with sporting teams from your school. The type of database (SQL Server or Access) will be determined by your instructor. Write a C# program that displays information about each team, including the names of the athletes.
Create a Message Displayer that has one ComboBox object with a list of at least four of your favorite sayings. In your design, include the capability of letting users enter their own sayings. When a selection is made or a new entry is typed, display the selection on a Label object on your form. Add a menu to the application that includes at least the menu options of Format and Help. Under the Format selection, include options of Font and Color. Wire the Font and Color options to the Windows predefined Font and Color dialog boxes so that when their values are changed, the text in the Label object displaying the saying is changed.
in c# Create a graphical user interface that allows the users to enter personal information such as their names, e-mail addresses, and phone numbers. Include a menu that provides a minimum of four features. The first displays the information entered by the user in a message box. The second clears the entries so that new values can be entered, the third menu option displays information about the application such as who developed it and what version it is. Another menu option closes the application. Be creative and be sure to produce an aesthetically pleasing design using options from the Format menu if you are using Visual Studio.
Two fuel stops, CanadianFuel and AmericanFuel, are positioned near the U.S.–Canadian border. At the Canadian station, gas is sold by the liter. On the American side, it is sold by the gallon. Write an application that allows the user to input information from both stations and make a decision as to which station offers the most economical fuel price. Test your application with 1.259 per liter against 4.50 per gallon. Once the decision is made, display the equivalent prices. (1 liter is 0.264172 gallons)
Design a solution that prints the amount of pay a commissioned salesperson takes home. The more sales documented, the larger the commission rate. Allow the user to input a total sales amount for the week. Compute the commission based on the following table. Display the pay amount formatted with commas, decimals, and a dollar symbol.
less than $ 1000: 3%
$ 1001–$ 5000: 5%
$ 5001–$ 10000: 6%
over $ 10000: 7%
Be sure to design your solution so that all possible situations are accounted for and tested. What values did you enter and test to verify your program’s correctness?
Using the concept of classes,methods attributes create a class of students that accepts the number of courses taken by a student and outputs the terminal grade of the student.
I want to have a simple code that demonstrtes hasch table and its concept.
LATEST TUTORIALS
APPROVED BY CLIENTS