C# for Java Programmers

Chapter 4: Programming Structures

Introduction

Chapter 3 discussed the basic building blocks of the C# programming language; this chapter will highlight more advanced programming structures necessary for building C# applications.

In this chapter you will learn about the String class in C#. Just like in Java, strings are special objects with special support of the language. We will introduce the basic flow controls of the C# language, and introduce the foreach statement (which is not available in Java). We then will examine some of the collection classes provided by the .NET Framework. We will talk about Arrays and a new feature not found in Java, called Indexers. Finally, we will look at exception handling in C#, which is very similar to Java.

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Programming Languages
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.