Access the full text.
Sign up today, get DeepDyve free for 14 days.
CHAPTER 3 ■ ■ ■ C# Quick Start and C# Development T his chapter presents a quick overview of the C# language. This chapter assumes a certain level of programming knowledge and therefore doesn’t present very much detail. If the expla- nation here doesn’t make sense, look for a more detailed explanation of the particular topic later in the book. The second part of the chapter discusses how to obtain the C# compiler and the advantages of using Visual Studio .NET (VS .NET) to develop C# applications. Hello, Universe As a supporter of SETI, we thought it’d be appropriate to do a “Hello, Universe” program rather than the canonical “Hello, World” program: using System; class Hello public static void Main(string[] args) Console.WriteLine("Hello, Universe"); // iterate over command-line arguments, // and print them out for (int arg = 0; arg < args.Length; arg++) Console.WriteLine("Arg {0}: {1}", arg, args[arg]); As discussed earlier, the .NET runtime has a unified namespace for all program informa- tion (or metadata). The using System clause is a way of referencing the classes that are in the System namespace so they can be used without having to put System in front of the type name. 1. Search
Published: Jan 1, 2005
Keywords: Class View; Visual Studio; Reference Type; Native Code; Quick Start
Read and print from thousands of top scholarly journals.
Already have an account? Log in
Bookmark this article. You can see your Bookmarks on your DeepDyve Library.
To save an article, log in first, or sign up for a DeepDyve account if you don’t already have one.
Copy and paste the desired citation format or use the link below to download a file formatted for EndNote
Access the full text.
Sign up today, get DeepDyve free for 14 days.
All DeepDyve websites use cookies to improve your online experience. They were placed on your computer when you launched this website. You can change your cookie settings through your browser.