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

The application used to calculate the cost of carrying additional luggage results in erroneous amount, if the weight of the luggage is a fractional number. Help the development team modify the code snippet so that the cost of carrying additional luggage is calculated correctly.
Which classes of the .NET Framework should Hayley use to ensure that the stock details are
available to Sharon at all times? Justify your answer along with reasons. [6 Marks]
Which class of the .NET Framework should Hayley use to enable Sharon to view the file
extension of the stock details file? Describe any four properties of the selected class.
The application displayed a message to the user to enter the path of the customer details file.
However, the customer details maintenance application crashed as Dwayne mistakenly entered
the wrong file path. Therefore, he asks Elina to modify the application so that it does not crash
due to similar errors. Modify the code that Elina needs to accomplish the preceding task.
Reuse the functions of the book Tickets class in a new class, named book Ticket, to add the feature of e-ticket booking create a c# programming
Michael is a software developer in FIT technologies. He wants to add a currency converter in the
application for the convenience of international customers. Help Michael in creating the currency
converter in c#.
My development PC's LCD size is 17-inch. I develop application which fits to my LCD. Every controls is placed at proper place and whole screen area is used.

Problem is that end-users of this application has different screen size i.e. 17, 19, 21, 15 and e.t.c.


End-users (having screen size greater than 17) demanded to use all screen area by spreading controls and increasing size of controls

while end-users (having screen size less than 17) demanded that application form should be fit on screen instead of scroll bars.

Please guide and share usefull links if any. I don't want to write separate code for all end-users due to only screen size.
A doctor is good only if the doctor satisfies the following conditions:
1. He is a ï ¿ ½Cardiologistï ¿ ½ (but see next conditon)
2. If he is not a "Cardiologist", he must be working with ï ¿ ½Apollo Hospitalï ¿ ½ and have his own nursing home.
3. if he has a nursing home, he should charge between Rs. 300 to 500 as consultancy charges, and Rs. 450 otherwise.
4. If he is working with "Kailash Hospital", he should not work at "Fortis Hospital" and he should not have his own nursing home.
5. If he does not go to any hospitals, he must have his own nursing home.
Write a method:
boolean isGoodDoctor(String specialization, String[] hospital, int fees, boolean haveNursingHome)
specialization Specialization done by the doctor (say “Neurologist”, or “Gynecologist”), can be null if the doctor is only MBBS.
hospital String array containing hospital names where the doctor holds checkup sessions, can be null if he does not go to any hospital.
fees This parameter defines the fees this doctor charges
Which features of C# will allow SoftSols Inc. to reuse the existing application code? Describe in
For this project, WebSoft Solutions Pvt. Ltd. conducts a recruitment drive to hire 10 software
developers to work on various modules of the application. It conducts a written examination and
asks the aspiring candidates to create a console-based calculator application. The calculator
should be able to solve basic mathematical calculations.
The calculator should store the result of an expression in a variable called "ans", which can be
used as an input in other mathematical expressions, as shown in the following statements:
>calculate 25*(3+5-(10/2))
ans=75
>calculate ans+10
ans=85
>calculate ans*10/5
However, the candidate can declare any variable to store the result. Being an aspiring candidate,
develop the console-based calculator using C#.
Michael is a software developer in FIT technologies. He wants to add a currency converter in the
application for the convenience of international customers. Help Michael in creating the currency
converter
LATEST TUTORIALS
APPROVED BY CLIENTS