TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
John Burns
NA
120
109.2k
bugs in code but cant see where
Dec 15 2010 1:25 PM
i bought a book on C# by Head First .. and there is SO MUCH bugs, i have 15 errors. I have checked the errata as well for this but this is not listed.
i created a class called Talker as the book shown and have went through te code with a bone comb, here it is:
namespace WindowsFormsApplication1
{
class Talker
{
public static int BlaBlaBla(string thingToSay, int numberOfTimes);
string finalString = "";
for (int count =1; count <= numberoftimes; count++)
{
finalstring = finalstring + thingtosay + "\n";
}
MessageBox.Show(finalstring);
return finalstring.Length;
}
}
i have lots of them saying "invalid token in class"
thanks
Reply
Answers (
7
)
Stop or avoid inheritance
Problem In Crystal Report