Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
How do I get certain code to onto the next line
Rivash Krishoondutt
Mar 9 2014 6:15 AM
872
Reply
Hi Guys
this is my code below in my class, for display purposes I need" ingred" to be on 1 line and the balance of the code below, please help as I am new at this and a student using visual studio 2012
my code
public virtual string display()
{
return "Ingred " + "Potassium Nitrate:"+potNit.ToString()+"Charcoal:"+charc.ToString()+"Sulphur:"+sulp.ToString()+"Cost:"+
cost().ToString ("R0.00") + burnRate().ToString();
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
string array question
Open a link from MS-Access database file