⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 腾讯社区:俺写篇c#的报告!请大虾们指教!(初探c#--.htm

📁 ASP.NET C#编写网站的教程
💻 HTM
📖 第 1 页 / 共 2 页
字号:
                  href="http://bbs.tencent.com/cgi-bin/bbs/bbs_post?type=r&amp;messtype=r&amp;back=1&amp;groupid=102:10047&amp;messageid=145024&amp;begnum=0&amp;bbegnum=20&amp;mmessageid=263147&amp;st=0&amp;sc=&amp;club=">[回复]</A> 
                </TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=5 cellPadding=5 width="100%" bgColor=#ffffff 
            border=0>
              <TBODY>
              <TR>
                <TD class=content>第一个来这里报到听课,呵呵!我够学习认真吧!!! 
                  <BR><BR>可是就不怎么听得懂……<BR><BR><IMG height=10 
                  src="腾讯社区:俺写篇c#的报告!请大虾们指教!(初探c#--.files/tiny3.gif" width=10 
                  border=0> <IMG height=10 
                  src="腾讯社区:俺写篇c#的报告!请大虾们指教!(初探c#--.files/tiny3.gif" width=10 
                  border=0> <IMG height=10 
                  src="腾讯社区:俺写篇c#的报告!请大虾们指教!(初探c#--.files/tiny3.gif" width=10 
                  border=0><BR><FONT color=#568ac2></FONT><BR><FONT 
                  color=#ff8080></FONT></TD></TR></TBODY></TABLE></TD></TR>
        <TR>
          <TD>
            <TABLE cellSpacing=0 cellPadding=1 width="100%" align=center 
            bgColor=#e9f4ff border=0>
              <TBODY>
              <TR>
                <TD class=t1 noWrap>作者:<A 
                  href="http://search.tencent.com/cgi-bin/friend/user_show_info?ln=5151599"><IMG 
                  height=16 src="腾讯社区:俺写篇c#的报告!请大虾们指教!(初探c#--.files/177.gif" 
                  width=16 align=absMiddle border=0> Burn[5151599]</A> 
                  2000-10-14 09:57:19 </TD>
                <TD noWrap align=right width="25%"><A class=edit 
                  href="http://bbs.tencent.com/cgi-bin/bbs/bbs_post?type=r&amp;messtype=r&amp;back=1&amp;groupid=102:10047&amp;messageid=145024&amp;begnum=0&amp;bbegnum=20&amp;mmessageid=263158&amp;st=0&amp;sc=&amp;club=">[回复]</A> 
                </TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=5 cellPadding=5 width="100%" bgColor=#ffffff 
            border=0>
              <TBODY>
              <TR>
                <TD class=content>(Dinosaur_[17731168]在大作中提到:) <BR><FONT 
                  style="FONT-SIZE: 9pt" 
                  color=#006666>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                  /* 1 绪论 </FONT><BR><FONT style="FONT-SIZE: 9pt" 
                  color=#006666>&gt; c# 是一种简练,时髦(?),面向对象(object 
                  oriented),类型可靠(type-safe)的 </FONT><BR><FONT 
                  style="FONT-SIZE: 9pt" color=#006666>&gt; 编程语言。它(发音:C 
                  sharp)是从c/c++发展而来的(?俺觉得更象是java),和c/c+ ... 
                  </FONT><BR>大侠高见,俺早就听说c#了,可就是不知道他什么样,望大侠继续,俺还想知道更多。 
                  <BR>顺便一句,俺好喜欢,把他转贴了,大侠一定不会反对吧。谢谢。 <BR><BR><BR><IMG height=10 
                  src="腾讯社区:俺写篇c#的报告!请大虾们指教!(初探c#--.files/tiny3.gif" width=10 
                  border=0> <IMG height=10 
                  src="腾讯社区:俺写篇c#的报告!请大虾们指教!(初探c#--.files/tiny3.gif" width=10 
                  border=0> <IMG height=10 
                  src="腾讯社区:俺写篇c#的报告!请大虾们指教!(初探c#--.files/tiny3.gif" width=10 
                  border=0><BR><FONT 
                  color=#568ac2>我是个盖世英雄,有一天我会驾着七彩降云杀入敌营去救我的情人,我猜对了前头 
                  <BR>也猜对了这结果。(Zzzz....) <BR></FONT><BR><FONT 
                  color=#ff8080></FONT></TD></TR></TBODY></TABLE></TD></TR>
        <TR>
          <TD>
            <TABLE cellSpacing=0 cellPadding=1 width="100%" align=center 
            bgColor=#e9f4ff border=0>
              <TBODY>
              <TR>
                <TD class=t1 noWrap>作者:<A 
                  href="http://search.tencent.com/cgi-bin/friend/user_show_info?ln=17731168"><IMG 
                  height=16 src="腾讯社区:俺写篇c#的报告!请大虾们指教!(初探c#--.files/129.gif" 
                  width=16 align=absMiddle border=0> Dinosaur_[17731168]</A> 
                  2000-10-15 11:43:21 </TD>
                <TD noWrap align=right width="25%"><A class=edit 
                  href="http://bbs.tencent.com/cgi-bin/bbs/bbs_post?type=m&amp;messtype=r&amp;back=1&amp;groupid=102:10047&amp;messageid=145024&amp;begnum=0&amp;bbegnum=20&amp;mmessageid=263210&amp;st=0&amp;sc=&amp;club=">修改</A>&nbsp; 
                  <A class=edit 
                  href="http://bbs.tencent.com/cgi-bin/bbs/bbs_post_submit?type=d&amp;messtype=r&amp;back=1&amp;groupid=102:10047&amp;messageid=145024&amp;begnum=0&amp;bbegnum=20&amp;mmessageid=263210&amp;st=0&amp;sc=&amp;club=">删除</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                  <A class=edit 
                  href="http://bbs.tencent.com/cgi-bin/bbs/bbs_post?type=r&amp;messtype=r&amp;back=1&amp;groupid=102:10047&amp;messageid=145024&amp;begnum=0&amp;bbegnum=20&amp;mmessageid=263210&amp;st=0&amp;sc=&amp;club=">[回复]</A> 
                </TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=5 cellPadding=5 width="100%" bgColor=#ffffff 
            border=0>
              <TBODY>
              <TR>
                <TD class=content>(王志清[21847847]在大作中提到:) <BR><FONT 
                  style="FONT-SIZE: 9pt" color=#006666>&gt; 
                  第一个来这里报到听课,呵呵!我够学习认真吧!!! </FONT><BR><FONT 
                  style="FONT-SIZE: 9pt" color=#006666>&gt; </FONT><BR><FONT 
                  style="FONT-SIZE: 9pt" color=#006666>&gt; 可是就不怎么听得懂…… 
                  </FONT><BR>俺早就说过,请大虾指教噢!俺的脸皮贼厚,直说即可! :) 
                  <BR><BR>俺一定改,还不行吗?&nbsp; ^-* 
                  <BR><BR>赶紧说啊!俺就快要翻译第二篇了。快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快快 
                  <BR>!!!!!!!!!好心急!!!!!!!!!!!!! 
                  <BR><BR>再看了一次俺自己的嬉戏,果然语句极为不顺畅!俺真想把它杀掉! :( 
                  <BR>请各位先不要转载噢!俺一定改,还不行吗?&nbsp; ^-*<BR><BR><IMG height=10 
                  src="腾讯社区:俺写篇c#的报告!请大虾们指教!(初探c#--.files/tiny3.gif" width=10 
                  border=0> <IMG height=10 
                  src="腾讯社区:俺写篇c#的报告!请大虾们指教!(初探c#--.files/tiny3.gif" width=10 
                  border=0> <IMG height=10 
                  src="腾讯社区:俺写篇c#的报告!请大虾们指教!(初探c#--.files/tiny3.gif" width=10 
                  border=0><BR><FONT color=#568ac2></FONT><BR><FONT 
                  color=#ff8080></FONT></TD></TR></TBODY></TABLE></TD></TR>
        <TR>
          <TD>
            <TABLE cellSpacing=0 cellPadding=1 width="100%" align=center 
            bgColor=#e9f4ff border=0>
              <TBODY>
              <TR>
                <TD class=t1 noWrap>作者:<A 
                  href="http://search.tencent.com/cgi-bin/friend/user_show_info?ln=17731168"><IMG 
                  height=16 src="腾讯社区:俺写篇c#的报告!请大虾们指教!(初探c#--.files/129.gif" 
                  width=16 align=absMiddle border=0> Dinosaur_[17731168]</A> 
                  2000-10-17 17:11:51 </TD>
                <TD noWrap align=right width="25%"><A class=edit 
                  href="http://bbs.tencent.com/cgi-bin/bbs/bbs_post?type=m&amp;messtype=r&amp;back=1&amp;groupid=102:10047&amp;messageid=145024&amp;begnum=0&amp;bbegnum=20&amp;mmessageid=263268&amp;st=0&amp;sc=&amp;club=">修改</A>&nbsp; 
                  <A class=edit 
                  href="http://bbs.tencent.com/cgi-bin/bbs/bbs_post_submit?type=d&amp;messtype=r&amp;back=1&amp;groupid=102:10047&amp;messageid=145024&amp;begnum=0&amp;bbegnum=20&amp;mmessageid=263268&amp;st=0&amp;sc=&amp;club=">删除</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                  <A class=edit 
                  href="http://bbs.tencent.com/cgi-bin/bbs/bbs_post?type=r&amp;messtype=r&amp;back=1&amp;groupid=102:10047&amp;messageid=145024&amp;begnum=0&amp;bbegnum=20&amp;mmessageid=263268&amp;st=0&amp;sc=&amp;club=">[回复]</A> 
                </TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=5 cellPadding=5 width="100%" bgColor=#ffffff 
            border=0>
              <TBODY>
              <TR>
                <TD class=content>(续前) 
                  <BR>“.”被称为分隔符(separator),用来连接名字,如上面的“Console.WriteLine”,就把类和它的 
                  <BR>方法连接。通过这种方式,咱们就可以使用现成方法集合。这里再回顾一下俺的例子,看看namespace和 
                  <BR>“.”是如何连用的,还有为什么要使用namespace这个关键字。把例子稍微改一下:*/ <BR>/* 
                  idontlikeHelloworld.cs */ <BR>1: //using System; <BR>2: class 
                  idontlikeHelloworld <BR>3: { <BR>4: static void Main() { 
                  <BR>5: System.Console.WriteLine("i dont like Hello world"); 
                  <BR>6: System.Console.ReadLine(); <BR>7: } <BR>8: } <BR><BR>/* 
                  看见了,当俺注销掉“using System;”后,在第五行和第六行加了“System”。程序的结果不会改 
                  <BR>变。但是,很明显的这样比较罗嗦,所以引入了“namespace”。其实,class应该可以完成同样的功能。 
                  <BR>不过,设计者可能不想让一个关键字涵盖太多的功能。记得在c向c++发展的时候,引入了“class”,而 
                  <BR>不是扩展“struct”关键字的功能;又比如“=”只用于赋值,“==”只用于判断相等。这是c/c++和c# 
                  <BR>在语法上其中一个重要的特点。这样设计的好处很多。有机会再聊噢。 
                  <BR>如果你没学过c/c++,以下的内容可以跳过。c#与c/c++在语法上还是有区别的,比如: 
                  <BR>1。c#根本没有“::”;“-&gt;”只在程序中很小的片断中。在c#中应采用“.”。 
                  <BR>2。c#无须先声明定义,再使用。与java相同。 
                  <BR>3。c#取消了用“#include”导入其他的程序文本文件,而采用象征性的句柄引入他人的代码。这样一来, 
                  <BR>&nbsp;&nbsp; 
                  就排除了编程语言间的障碍,方便地使用其它语言编写的库。如“Console”类可以是c#或者是其他任 
                  <BR>&nbsp;&nbsp; 一种语言编写的。<BR><BR><IMG height=10 
                  src="腾讯社区:俺写篇c#的报告!请大虾们指教!(初探c#--.files/tiny3.gif" width=10 
                  border=0> <IMG height=10 
                  src="腾讯社区:俺写篇c#的报告!请大虾们指教!(初探c#--.files/tiny3.gif" width=10 
                  border=0> <IMG height=10 
                  src="腾讯社区:俺写篇c#的报告!请大虾们指教!(初探c#--.files/tiny3.gif" width=10 
                  border=0><BR><FONT color=#568ac2></FONT><BR><FONT 
                  color=#ff8080></FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width="98%" align=center border=0 
      hspace="0" vspace="0">
        <TBODY>
        <TR>
          <TD vAlign=top width=12 bgColor=#a8cbf1>&nbsp;</TD>
          <TD width="75%" bgColor=#a8cbf1>
            <TABLE cellSpacing=0 cellPadding=0 width="20%" border=0>
              <TBODY>
              <TR>
                <TD><A class=bar2 
                  href="http://bbs.tencent.com/cgi-bin/bbs/bbs_show_content?from=t&amp;groupid=102:10047&amp;messageid=145025&amp;bbegnum=20">上一篇</A></TD>
                <TD><A class=bar2 
                  href="http://bbs.tencent.com/cgi-bin/bbs/bbs_show_content?from=t&amp;groupid=102:10047&amp;messageid=145023&amp;bbegnum=20">下一篇</A></TD></TR></TBODY></TABLE></TD>
          <TD align=right bgColor=#a8cbf1>
            <TABLE cellSpacing=0 cellPadding=0 width=200 align=right border=0>
              <TBODY>
              <TR>
                <TD align=right><A class=bar2 
                  href="http://bbs.tencent.com/cgi-bin/bbs/bbs_show_my_msg?Ppage_no=">返回 
                  &lt;&lt;</A></TD></TR></TBODY></TABLE></TD>
          <TD vAlign=top width=12 
  bgColor=#a8cbf1>&nbsp;</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<P align=center><BR>
<DIV align=center><IFRAME marginWidth=0 marginHeight=0 
src="腾讯社区:俺写篇c#的报告!请大虾们指教!(初探c#--.files/Tencent-Default-Bott.htm" frameBorder=0 
width=468 scrolling=no height=60 bordercolor="#000000"></IFRAME><BR><FONT 
style="FONT-SIZE: 12pt; COLOR: #5599ff; LINE-HEIGHT: 14pt; FONT-FAMILY: Impact">Tencent</FONT><FONT 
style="FONT-SIZE: 12pt; COLOR: #ff9955; LINE-HEIGHT: 14pt; FONT-FAMILY: Impact">.com</FONT> 
<FONT style="FONT-SIZE: 11pt; FONT-FAMILY: 宋体" color=#000000>&nbsp;腾讯科技 
1998-2000(C)</FONT> <IMG height=1 
src="H:\my_web\web\腾讯社区:俺写篇c#的报告!请大虾们指教!(初探c#--.files\Count(1).gif" width=1>
<SCRIPT>document.write("<img width=0 height=0 src=http://best.netease.com/cgi-bin/log.cgi?user=oicq&refer="+escape(document.referrer)+"&cur="+escape(document.URL)+" border=0>");</SCRIPT>
 </DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -