28 253
Assignments Done
98,5%
Successfully Done
In July 2015
Your physics homework can be a real challenge, and the due date can be really close - feel free to use our assistance and get the desired result.
Be sure that math assignments completed by our experts will be error-free and done according to your instructions specified in the submitted order form.
Our experts will gladly share their knowledge and help you with programming homework. Keep up with the world's newest programming trends.

Answer on C# Question for Justin Murupel

 \ 
Question #38393
In the written examination conducted by WebSoft Solutions Pvt. Ltd., candidates are given certain
advanced C# codes. They are asked to find the errors in the code (if any) and predict the output of
the code. You are one of the candidates appearing at the interview. Optimize the code, find out the
errors (if any), and predict the output of the following code snippet: [10 Marks]
using System;
class Student
{
private string name = "Marcus Trott";
private double marks = 65.0;
public void DispName()
{
System.Console.WriteLine("Name: ",; name);
}
public void DispMarks()
{
System.Console.WriteLine("Marks: ", marks);
}
}
class MainClass
{
static void Main()
{
Student s= new Student();
string n = s.DispName();
double m= s.marks;
}
}
Expert's answer

Comments

No comments. Be first!

Leave a comment

Ask Your question

Link to us

Share with friends

free questions
Questions and Answers
approved by clients
Awesome as always. Thank you!
Daniel on August 2013
solving policy
solving policy
satisfaction
guarantee
paypal
Pay us safely via PayPalPayPal
We deliver professional assignment and homework help for students in USA, UK, Canada, Australia, AE and all over the world.
Terms and Conditions | Privacy Policy | Service
© 2015 BrainRouter LTD. All rights reserved.