Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
7Activity
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

Availability:

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

03/18/2014

pdf

text

original

Contents
Overview
1
Structure of a C# Program
2
Basic Input/ Output Operations
9
Recommended Practices
15
Compiling, Running, and Debugging
22
Lab 2: Creating a Simple C# Program
36
Review
45
Module 2: Overview of
C#
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
owners.
Module 2: Overview of C#
1
Overview
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#
program.
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

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