Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 6 > BOOK: Beginning C# 6.0 Programming with Visual Studio 2015
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning C# 6.0 Programming with Visual Studio 2015
This is the forum to discuss the Wrox book Beginning C# 6.0 Programming with Visual Studio 2015 by Benjamin Perkins, Jacob Vibe Hammer, Jon D. Reid; ISBN: 978-1-119-09668-9
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning C# 6.0 Programming with Visual Studio 2015 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 24th, 2016, 06:52 PM
Authorized User
Points: 55, Level: 1
Points: 55, Level: 1 Points: 55, Level: 1 Points: 55, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2015
Location: Menan, ID
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Question Can't Split My Code Like Shown In The Book

I'm just starting out in C# and have your Beginning C#6 book. I have several of your Visual Basic books, and love them. I'm in chapter 3 now, and when I try to split a WriteLine statement into 2 lines i.e. page 61 'WriteLine($"The first number is [break] {comparison} the second number.");. I get error messages: Newline in constant , ) expected, and ; expected. I'm using Visual Studio 2015 Community Edition. Please help.. thanks, Ron
Reply With Quote
  #2 (permalink)  
Old January 24th, 2016, 08:46 PM
Authorized User
Points: 55, Level: 1
Points: 55, Level: 1 Points: 55, Level: 1 Points: 55, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2015
Location: Menan, ID
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default My Bad...

I think the code is just split like that so it will fit nicely on the page.
Reply With Quote
  #3 (permalink)  
Old January 28th, 2016, 12:08 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2016
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, that must just be a split line from formatting.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between downloaded lesson code and code in book Alatha BOOK: Beginning HTML and CSS (published March 2013) 2 August 7th, 2013 08:34 PM
Chapter 4: Split Window Code GeezerRoy BOOK: Beginning iPad Application Development 1 August 30th, 2010 08:47 AM
Associative arrays not shown at book brasilino BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 1 December 16th, 2006 08:51 AM
Error on the Example shown on the book tarzannn Classic ASP Databases 8 January 17th, 2006 10:52 PM
Element value to be shown only once...HOW? suri XSLT 2 August 10th, 2004 10:51 AM



All times are GMT -4. The time now is 01:56 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.