|
-
March 8th, 2010, 03:29 PM
#1
Need help with a program. Pls
Ok, so to state the obvious. I am a programming newbie. I have one semester of C++ under my belt and I'm currently taking a C# class. I have code written, but when I try to compile I am getting 2 errors, both are: Cannot implicitly convert type 'void' to 'string'.
Below are the two lines that I'm receiving the errors from. I'm not sure what I've done wrong and can post the entire code if need be. Any help would be greatly appreciated.
message = Console.WriteLine("Original number: \n Digits Reversed:" +
" \n Number of Digits: {0}",
num, numReverse, numofDig);
caption = Console.WriteLine("CIS 365 Midterm");
Thanks,
Chris
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|