O'Reilly logo

C# Web Development with ASP.NET: Visual QuickStart Guide by Jose Mojica

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. C# Building Blocks

In the previous chapter you got a taste for how to run Visual Studio .NET, and how to enter some code and execute it. In this chapter you’re going to start learning how to write C# code. In order to write code it’s essential to learn a few of the basics. We’ll start by learning how to declare variables and functions, and then we’ll proceed to combining those variables and functions into classes. A class is a group of code that serves as a blueprint; the blueprint is used to create objects.

Working with C# Building Blocks

One way to learn the concepts in this chapter is to put them into practice. For that reason I will start a sample project at the beginning of each chapter. Some of the topics in the chapter show code ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required