visual f#与c#_下载和安装Visual C#2008 Express Edition的说明

本文提供了详细的步骤,指导如何下载和安装Visual C# 2008 Express Edition,包括注册、选择安装文件夹、下载.NET 3.5框架和MSDN内容,以及安装后的注册过程。通过这个教程,读者将能够成功安装并运行C# 2008的示例应用“Hello World”。
摘要由CSDN通过智能技术生成

visual f#与c#

安装之前 ( Before you Install )

You will need

你会需要

You will also be required to register with Microsoft. Yes it's a pain but given what you're getting not that bad. If you have a Hotmail or Windows Live account already then use that. If not then you will need to sign up (it is free) for one.

您还需要向Microsoft注册。 是的,这很痛苦,但是鉴于您得到的不是那么糟糕。 如果您已经有Hotmail或Windows Live帐户,则使用它。 如果没有,那么您将需要注册(免费)一个。

The download page is on Microsoft's website for all their Express products. Microsoft Express Products.

所有Microsoft Express产品的下载页面位于Microsoft网站上。 Microsoft Express产品。

On the next page : Download and Install Visual C# 2008 Express

在下一页 :下载并安装Visual C#2008 Express

下载Visual C#2008 Express Edition ( Download Visual C# 2008 Express Edition )

Download the 3Mb file. This is a small download but it is the first part of a much larger set of files so don't attempt this unless you have a DSL or faster Internet connection.

下载3Mb文件。 这是一个很小的下载,但它是更大文件集的第一部分,因此,除非您具有DSL或更快的Internet连接,否则请勿尝试这样做。

The total download is well over 300Mb with the .NET 3.5 framework and MSDN or 30Mb for just the C# Part. You might want to do this early in the morning for faster download speed. As you can see from the picture, you get to choose whether you want to submit information to Microsoft. Apparently Microsoft receives 50GB of data everyday! (Crash data, customer feedback etc).

使用.NET 3.5 框架MSDN或C#部分仅需30Mb,总下载量超过300Mb。 您可能希望在清晨这样做,以加快下载速度。 从图片中可以看到,您可以选择是否要向Microsoft提交信息。 显然,微软每天都会收到50GB的数据! (崩溃数据,客户反馈等)。

On the next page : Start the Download of Visual C# 2008 Express

在下一页 :开始下载Visual C#2008 Express

开始下载Visual C#2008 Express ( Start the Download of Visual C# 2008 Express )

License Acceptance page

You'll have to wade through the usual acceptance of license stuff. You're also given the chance to accept Visual Studio receiving RSS content when you're on the web. This is a good thing as you get notifications of free content, lessons, offers and updates in a much less intrusive manner than by email.

您将不得不经历通常接受许可证的事情。 当您在网络上时,还可以接受Visual Studio接收RSS内容的机会。 这是一件好事,因为您收到的免费内容,课程,优惠和更新的通知比电子邮件发送的方式少得多。

Click Next to Proceed.

单击下一步继续。

On the Next page - Want MSDN with that?

在下一页上 -想要MSDN吗?

您是否要使用MSDN Express库? ( Do you want MSDN Express Library to go? )

MSDN Express Download

You should include the MSDN 2008 Express Edition in the download unless you have done this already for the Visual C++ download.

除非已为Visual C ++下载完成了此操作,否则应在下载中包含MSDN 2008 Express Edition。

If you have already downloaded that then you may already have this. It contains projects, source code and help so it has to be downloaded, but only once!

如果您已经下载了该文件,那么您可能已经拥有了。 它包含项目,源代码和帮助,因此只能下载一次!

Here's a tip. If you haven't defragged your PC for a while, I recommend you do it before installing Microsoft Visual C# 2008 Express Edition. For XP and 2000 it's easy. Just right click on the Start button and click explore. Now where you main drive is (Usually C:) right click on it and select Properties- it's normally at the bottom. Now click the tools Tab, select de-fragmentation and follow the instructions.

这是一个提示。 如果您有一段时间没有对PC进行碎片整理,建议您在安装Microsoft Visual C#2008 Express Edition之前进行此操作。 对于XP和2000,这很容易。 只需右键单击开始按钮,然后单击浏览。 现在,您的主驱动器位于(通常为C :)上,右键单击它,然后选择“属性”,它通常位于底部。 现在,单击工具选项卡,选择碎片整理并按照说明进行操作。

On the next page - Selecting the Install Folder

在下一页上 -选择安装文件夹

选择安装文件夹 ( Selecting the Install Folder )

Select the Install folder

You have to install the software somewhere and the default selection "c:\Program Files\Microsoft Visual Studio 9.0\" is as good a place as any. Generally Microsoft have got this sort of thing figured out. You get pretty good at stuff with 30 years practice!

您必须将软件安装在某个地方,默认选择“ c:\ Program Files \ Microsoft Visual Studio 9.0 \”与其他任何地方一样好。 通常,微软已经弄清楚了这种事情。 经过30年的实践,您在技能方面非常出色!

You can also review the full list of things that will be installed and see vast acreage of your precious disk space become part of the Microsoft reservation. Mine totalled 827 Mb but only 57MB download as I had the MSDN stuff already.

您还可以查看将要安装的所有内容的完整列表,并看到您宝贵的磁盘空间的巨大面积已成为Microsoft保留的一部分。 我的总容量为827 Mb,但只有57MB的下载量,因为我已经有了MSDN的东西。

Also downloaded on mine was

也从我的网站下载了

  • Microsoft .NET Framework 3.5. You need this to run C# 2008.

    Microsoft .NET Framework 3.5。 您需要使用它来运行C#2008。
  • SDKs for Express Tools for .NET and Win 32.

    用于.NET和Win 32的Express Tools的SDK。
  • Microsoft Visual C# 2008 Express Edition

    Microsoft Visual C#2008速成版
  • Microsoft SQL Server Compact 3.5

    Microsoft SQL Server精简版3.5

On the next page - The download begins

在下一页 -下载开始

终于下载开始了... ( Finally the Download Begins... )

The old adage about "a Watched Pot never boils" was never so true with big downloads. unless you have a very fast DSL, you can probably brew and drink a pot of coffee or even cook a meal.

关于“被监视的锅永不沸腾”的古老格言从来没有像现在这样大下载。 除非您拥有非常快速的DSL,否则您可能可以冲泡和喝一壶咖啡,甚至可以做一顿饭。

Trust me, the download is worth it. Mind you there is a slight chance that the next version will have been released by the time you've finished*.

相信我,下载是值得的。 请注意,在您完成*时,下一个版本可能已经发布*。

*Ok Maybe I exaggerate!

*好吧,也许我夸大了!

On the next page Register or Else

在下一页注册或其他

注册或您仅获得一个月 ( Register or you only get a Month )

Register Microsoft Visual C# 2008 Express

After downloading and Installing, run Microsoft Visual C# 2008 Express Edition. This will try to connect to the Internet and that's ok. It is just checking to download news of new articles and downloads and check for updates.

下载并安装后,运行Microsoft Visual C#2008 Express Edition。 这将尝试连接到Internet,并且可以。 它只是检查下载新文章和下载的新闻,并检查更新。

You now have 30 days to register to get a registration key. The key will be emailed to you within a few minutes. Once you have it, run Visual C# 2008 Express Edition, hit Help and Register Product then enter your registration code.

您现在有30天的注册时间以获得注册密钥。 密钥将在几分钟内通过电子邮件发送给您。 拥有它后,运行Visual C#2008 Express Edition,点击“帮助”并注册产品,然后输入您的注册码。

That completes the Installation. Now it's time to start learning C#.

这样就完成了安装。 现在该开始学习C#了

On the next page : Compile and run your first C# application.

在下一页 :编译并运行您的第一个C#应用程序。

编译示例应用程序“ Hello World” ( Compiling a Sample Application "Hello World" )

Microsoft Visual C# 2008 Express Edition

Do a File New Project it should look like the screen above then on the New Project Screen select Console Application Enter a name like ex1 in the Name: box.

做一个File New Project,它应该看起来像上面的屏幕,然后在New Project屏幕上,选择Console Application,在Name:框中输入一个像ex1这样的名称。

After the { braces following the static void Main( line type

在{括号之后跟随静态void Main(线型

             Console.WriteLine("Hello World") ;
            Console.ReadKey() ;

It should look like this:

它看起来应该像这样:

 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World") ;
            Console.ReadKey() ;
        }
    }
}

On the next page : Running the Hello World Application

在下一页 :运行Hello World应用程序

运行“ Hello World”程序 ( Run the "Hello World" Program )

Hello World Screenshot

Now Press F5 and you should see the console Hello World in all its glory. Your first C# 2008 application and hopefully not your last!

现在按F5键 ,您应该会看到控制台Hello World的所有荣耀。 您的第一个C#2008应用程序,希望不是您的最后一个!

To close this and return to the Visual C# 2008 Express IDE just hit any key. Not the shift or ctrl keys, but the Space key or Enter key will do.

要关闭此窗口并返回到Visual C#2008 Express IDE,只需按任意键。 不是shift键或ctrl键,而是Space键或Enter键。

That completes this how to. For more on C# see the C# Tutorials.

这样就完成了。 有关C#的更多信息,请参见C#教程

翻译自: https://www.thoughtco.com/installing-visual-c-2008-express-edition-958389

visual f#与c#

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值