Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
Module 2 (Overview of C#)

Module 2 (Overview of C#)

Ratings: (0)|Views: 235|Likes:
Published by api-3710599

More info:

Published by: api-3710599 on Oct 14, 2008
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





Structure of a C# Program
Basic Input/ Output Operations
Recommended Practices
Compiling, Running, and Debugging
Lab 2: Creating a Simple C# Program
Module 2: Overview of
This course is based on the prerelease Beta 1 version of Microsoft\u00ae Visual Studio .NET.

Content in the final release of the course may be different from the content included in
this prerelease version. All labs in the course are to be completed with the Beta 1
version of Visual Studio .NET.

Information in this document is subject to change without notice. The names of companies,
products, people, characters, and/or data mentioned herein are fictitious and are in no way intended
to represent any real individual, company, product, or event, unless otherwise noted. Complying
with all applicable copyright laws is the responsibility of the user. No part of this document may
be reproduced or transmitted in any form or by any means, electronic or mechanical, for any
purpose, without the express written permission of Microsoft Corporation. If, however, your only
means of access is electronic, permission to print one copy is hereby granted.

Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual
property rights covering subject matter in this document. Except as expressly provided in any
written license agreement from Microsoft, the furnishing of this document does not give you any
license to these patents, trademarks, copyrights, or other intellectual property.

\u00a92001 Microsoft Corporation. All rights reserved.

Microsoft, ActiveX, BizTalk, IntelliSense, JScript, Microsoft Press, MSDN, PowerPoint, Visual Basic, Visual C++, Visual #, Visual Studio, Windows, and Windows Media are either registered trademarks or trademarks of Microsoft Corporation in the U.S.A. and/or other countries.

Other product and company names mentioned herein may be the trademarks of their respective
Module 2: Overview of C#
nStructure of a C# Program
nBasic Input/Output Operations
nRecommended Practices
nCompiling, Running, and Debugging

In this module, you will learn about the basic structure of a C# program by
analyzing a simple working example. You will learn how to use theConsole
class to perform some basic input and output operations. You will also learn
about some best practices for handling errors and documenting your code.
Finally, you will compile, run, and debug a C# program.

After completing this module, you will be able to:
n Explain the structure of a simple C# program.
n Use theConsole class of theSystem namespace to perform basic
input/output operations.
n Handle exceptions in a C# program.
n Generate Extensible Markup Language (XML) documentation for a C#
n Compile and execute a C# program.
n Use the debugger to trace program execution.

Activity (7)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
Ardrick Bosco liked this
Chayapathi Naik liked this
biradar1 liked this
Jojo Cansino liked this
Jojo Cansino liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->