c# basics

Topics: .NET Framework, Microsoft Visual Studio, Visual Basic .NET Pages: 137 (26266 words) Published: April 27, 2014
C# Programming

C# Programming


Table of Contents
1. Strings, Exceptions, and Events
The String Class
Overview of Exception Handling
Throwing and Catching Exceptions
.NET Framework Class Library Exceptions
Creating Your Own Exceptions
2. Introduction to Windows Forms
What Is a Form?
Creating a Windows Form in a Text Editor
Creating a Form in Visual Studio .NET
The Windows Forms Designer
Form Properties
Form Events
Using Visual Inheritance
Localizing Your Form
Event Handling
3. Streams
Working with IO Streams
I/O Classes Derived from System.Object
System.IO.FileSystemInfo and Its Derived Classes
Classes Derived from System.IO.Stream
System.IO.TextReader and Its Derived Classes
System.IO.TextWriter and Its Derived Classes
I/O and Security
Composing Streams
4. Remoting .NET
Understanding .NET Remoting
Remotable and Nonremotable Objects
Understanding Remote Object Activation
Remoting Tasks
Using Lifetime Leases
Scope of Publication
Understanding Channels
Implementing Events and Delegates
Implementing Asynchronous Methods
Configuring and Securing .NET Remoting Objects
Securing .NET Remoting Objects
5. Crystal Reports for Visual Studio.NET
About Crystal Reports
Reporting Fundamentals
Database Connection
Report Distribution
Export Scenarios
Print the Report
Hosting Reports in Windows Applications
6. Assemblies, Configuration and Security

C# Programming


Creating Class Library Assemblies
Resources and Resource Assemblies
Creating Resource Assemblies
Creating Satellite Assemblies
Retrieving Resources at Run Time
Shared Assemblies
Strong Naming
The .config File Schema
Setting and Retrieving Dynamic Properties Manually
Using the Compiler Optimizations
Securing Your Application
Configuring Code Access Security
Using Exception Handling with Imperative Security
Exercise 1: Adding the Configuration File
Exercise 2: Securing Your Application
7.Enterprise Service Components
Overview of COM+ Programming
Queued Components
Loosely Coupled Events
JIT Activation
Object Pooling
Understanding, Creating, and Registering Serviced Components COM+ Services
Utilizing COM+ Services
Dependencies of the Transaction Attribute
Using the Loosely Coupled Events Service
Using the Object Pooling Service
Using the Queued Components Service
Using Object Construction
Component Services Tool
Implementation of Security in Serviced Components
Enabling Role-Based Security in Components
Strongly Typed Reports in Windows Projects
Scenario 1: Local Report
Scenario 2: Local Report Added to Project

C# Programming


Chapter 1
Strings, Exceptions and Events

Learn about the string class
Explore arrays
Manipulate collections
Learn the purpose of exception handling
Be introduced to the System.Exception class
Get acquainted with try and catch blocks
Learn how to use the finally statement
Create your own exception classes
Get to understand the event-handling mechanism in the .NET Framework

The String Class
Overview of Exception Handling
Throwing and Catching Exceptions
.NET Framework Class Library Exceptions
Creating Your Own Exceptions

C# Programming


The String Class
The C# language uses the string data type as if it were a primitive data type, but it is really a very functional data type that has no relation to any of the primitives. The string data type is a C# keyword that refers to the System.String class. The System.String class is not the only class in the .NET Framework that provides string-related functionality, however. We will start by investigating the System.String class, we will also look at the System.Text and System.Text.RegularExpressions namespaces. The System.Text.StringBuilder class...
Continue Reading

Please join StudyMode to read the full document

You May Also Find These Documents Helpful

  • Introduction to the C# Programming Language Essay
  • Visual Basic Terms Essay
  • Essay about Graphical User Interface and Visual Basic
  • Essay on C+++ Basic Lessons
  • C++ HW1 ANSWER Essay
  • Essay about Operators in C
  • avast and c++ Essay

Become a StudyMode Member

Sign Up - It's Free