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

2.
The development team of SoftSols Inc. has revamped the software according to the requirements of FlyHigh Airlines and is in the process of testing the software. While testing the software, the team encounters the following issues: The operations-related data of FlyHigh Airlines is stored in a central database. The software fails to respond to user inputs, if there is a connectivity problem with the database. Add the code snippet that the development team should use to ensure that the application shows a user- friendly message, if such a situation arises in future.[5 Marks] 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. [
Hi, I want to draw more than one line in wpf in c#. I want to use array to draw the lines. How can i do it?

I used the following code. I called a method named lets_draw

private void lets_draw()
{
int i,z;
z = 40;
Line[] line = new Line[20];

for(i=1;i<=10;i++)
{
line[i].Visibility = System.Windows.Visibility.Visible;
line[i].Stroke = System.Windows.Media.Brushes.Black;
line[i].X1 = z;
line[i].X2 = z;
line[i].Y1 = 40;
line[i].Y2 = 130;
z += 10;
theGrid.Children.Add(line[i]);
}
}
But it showed the following message

"An unhandled exception of type 'System.NullReferenceException' occurred in SkeletalTracking.exe
Additional information: Object reference not set to an instance of an object."
i finished my c# project with sql server dataBase and i want to make a setup for users to install in there computers now. i want to learn how to make setup like any program we install every day i made a simple program like peachtree accounting a little part of peachtree accounting program all i want to install my project to work in any computer like any program we install and i'm tired searching how to pack your project, how to make setup file, how to make your program work, nothing worked for me so please don't tell me go to file>new>setup wizard, or use inno, or any program if you made program using c# and sql server DB and you publish it for users tell me how step by step and if you didn't made any program and didn't publish it don't say any word please. *they told me you will find the answer here and they will give you the solution. *and i'm sorry cuz i really tired trying tutorial and nothing worked.
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.
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
simple c#program to get student details including name roll no, and also to calculate the average total,display in table and also give grades using call by value method
Write an application that retrieves a student name and three scores per line from a text
file.Process the values by calculating the average of the scores per student.Write the
name and average to a different text file.Test your application with a minimum of eight
records in the original file.

I know it needs 3 or 4 buttons, Open and Save FileDialog, and text labels and so on. Visual Studio Express 2012 Desktop.
Sam is working on an application wherein he needs to accept the size of a one dimensional array
and its values. He needs to identify the largest and smallest number in the array and based on that
he needs to display the result. Help him to create the application
David needs to create a program to maintain the details of the stock of a shop. He needs to
ensure that item category is Women, Men, Girls, Boys, and Babies. He needs to accept item
category from the user. In addition, he needs to accept item name, number of units, and unit price.
Finally, he needs to display all the details
When the application starts, it should display a message asking the user to enter either option d or
v. The application should execute the following actions for the two options:
d: The application should display the file extension of the stock details.
v: The application should open the stock details file in the read-only mode and display its
contents.
Write the code snippet that Hayley should use to implement the desired functionality in the
application.
In case the user presses any other key, the application should open the stock details file in the
read/write mode, display a message to enter new stock details, and save the details that the user
has entered. Write the code snippet that Hayley should use to accomplish the preceding task
LATEST TUTORIALS
APPROVED BY CLIENTS