Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #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
  #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.
  #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.


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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.