his chapter covers some of the fundamental activities you will need to perform when developing your C# solutions. The recipes in this chapter describe how to do the following: · Use the C# command-line compiler to build console and Windows Forms applications (recipes 1-1 and 1-2) · Create and use code modules and libraries (recipes 1-3 and 1-4) · Access command-line arguments from within your applications (recipe 1-5) · Use compiler directives and attributes to selectively include code at build time (recipe 1-6) · Access program elements built in other languages whose names conflict with C# keywords (recipe 1-7) · Give assemblies strong names and verify strong-named assemblies (recipes 1-8, 1-9, 1-10, and 1-11) · Sign an assembly with a Microsoft Authenticode digital signature (recipes 1-12 and 1-13) · Manage the shared assemblies that are stored in the global assembly cache (recipe 1-14) · Prevent people from decompiling your assembly (recipe 1-15) · Manipulate the appearance of the console (recipe 1-16) Note All the tools discussed in this chapter ship with the Microsoft .NET Framework or the .NET Framework software development kit (SDK). The tools that are part of the .NET Framework are in the main directory for the version of the framework you are running. For example, they are in the directory C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 if you install version 2.0 of the .NET Framework to the default location. The .NET installation process automatically adds this directory to your environment path. The tools provided with the SDK are in the Bin subdirectory of the directory in which you install the SDK, which is C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0 if you chose the default path during the installation of Microsoft Visual Studio 2005. This directory is not added to your path automatically, so you must manually edit your path in order to have easy access to these tools or use the shortcut to the command prompt installed in the Windows Start Programs menu of Visual Studio that calls vcvarsall.bat to set the right environment variables. Most of the tools support short and long forms of the command-line switches that control their functionality. This chapter always shows the long form, which is more informative but requires additional typing. For the shortened form of each switch, see the tool's documentation in the .NET Framework SDK. 1 C H A P T E R 1 You are here:CodeIdol > C# > Visual C# 2005 Recipes > page: 2425262728293031323334
AJAX popular information C# language guides Windows books and cookbooks
.......
С 2009 года мы стали переводить структура сайта на различные языки. Сайт теперь будет содержать книги не только на английском языке, но также и на других европейских языках, в том числе и на Русском языке.