New book: Microsoft Visual C# 2013 Step by Step

New book: Microsoft Visual C# 2013 Step by Step

  • Comments 8

Microsoft Visual C Sharp 2013 Step by Step cover imageWe’re happy to announce the publication of Microsoft Visual C# 2013 Step by Step (ISBN: 9780735681835), by John Sharp!

Purchase from these online retailers:

The Microsoft Press Store

Barnes & Noble

Independent booksellers – Shop local

Your hands-on guide to Visual C# fundamentals

Expand your expertise—and teach yourself the fundamentals of Microsoft Visual C# 2013. If you have previous programming experience but are new to Visual C# 2013, this tutorial delivers the step-by-step guidance and coding exercises you need to master core topics and techniques.

Discover how to:

• Create and debug C# applications in Visual Studio 2013

• Work with variables, identifiers, statements, operators, and methods

• Create interfaces and define abstract classes

• Write robust code that can catch and handle exceptions

• Display and edit data using data binding with Microsoft ADO.NET Entity Framework

• Respond to user input and touchscreen gestures

• Handle events arising from multiple sources

• Develop your first Windows 8.1 apps

About the Author

John Sharp is a principal technologist at Content Master, part of CM Group Ltd, a technical authoring and consulting company. An expert on developing applications with the Microsoft .NET Framework and interoperability issues, John has produced numerous tutorials, white papers, and presentations on distributed systems, Web services, and the C# language. He is the author of several popular books, including Microsoft Windows Communication Foundation Step By Step.

  • Good day,

    I purchased Microsoft Visual C# Step by Step in the Nook version from Barnes and Noble.  I have Win 8.1, VC 2013 Ultimate (trial version.  I also download the code samples.

    I ran into an issue that I do not understand:

    On Page 90 of the Nook version of the book while using the samples, the book state that I need to add some code to the switch statement.  All is well until I Add the case that is suppose to change the '&&' to a literal.  By the way all the others are OK...

    " case '&' " At this point I get the red squiggly under the statement and it says there is a -newline in constant-.  The first thing I notice is one of the single quotes are missing and add the ending single quote.  Now the tooltip error reads - Too many characters in character literal -.  at this point I am lost as that I do not Program for a living.  I have included my code directly from VS 2013 Ultimate below: Please help me out.  I just picked up the book yesterday and have learned a great deal just from the few pages and samples I did.  Oh something minor:  When I initial dropped the zip files into my documents it said the path was too long.  I just ignored the error and it seemed to work ok.

    Thank-you for your time

    Harvey L Wright

    Lubbock, TX

    private void copyOne(char current)


               switch (current)


                   case '<' :

                       target.Text += "<";


                   case '>' :

                       target.Text += ">";


                   case '&&#x0027; :       <<< The error is here

                       target.Text += "&" ;


                   case '\"' :

                       target.Text += "&#34" ;


                   case '\'' :

                       target.Text += "&#39";



                       target.Text += current;




  • Nice one

  • you need to swap the case line with the target line, case line the '&' and put double quotes around "&&#x0027" and put it in the target line

  • This book makes reference to an 8.1 directory under the chapter folders in the companion source code.  No directory exists for 8.1 - only 7 and 8.

  • i need this book. if u have this book, can share with me

  • The correct case block should look like this

    case '&' :

       target.Text += "&";


  • Above comment changed the code. Correct block should look like the following - with "_" removed from the &_amp on the target line (posting the comment here without the underline changes the character to an &)

    case '&' :

       target.Text += "&_amp;";


  • Jim - we'll share this errata with the author and editor.

Page 1 of 1 (8 items)
Leave a Comment
  • Please add 2 and 3 and type the answer here:
  • Post