实用C#(一) (转)[@more@]
C#实用吗?我们可以把开发平台转移到C#吗?用C#开发的
软件,可以在
windows98,
Windows2000,XP下直接运行吗?
如何运行?让我们来试试。
1. 用C#编一个最简单的console程序:
using System;namespace ConsoleApplication1
{
class Class1
{
[STAThread]
static void Main(string[] args)
{
System.Console.Write( "Hello world." );
}
}
}<%}%>Build通过,生成ConsoleApplication1.exe,才5KB大。运行正常。上一篇: 计算机软件保护条例 (转)
请登录后发表评论 登录全部评论<%=items[i].createtime%><%=items[i].content%>
<%if(items[i].items.items.length) { %><%for(var j=0;j<%}%><%}%> <%if(items[i].items.total > 5) { %><%=items[i].items.items[j].createtime%><%=items[i].items.items[j].username%> 回复 <%=items[i].items.items[j].tousername%>: <%=items[i].items.items[j].content%>
还有<%=items[i].items.total-5%>条评论 ) data-count=1 data-flag=true>点击查看<%}%>
最新文章
- 可怕的 C# (转)
- Unify the Role-Based Security Models for Enterprise and Application Domains with .NET (转)
- Building Secure ASP.NET Applications: Authentication, Authorization, and Secure Communication (转)
- [Sample] Playing with music file (转)
- 中文web-app_2_3.dtd (转)
- 使用ASP.NET加密口令 (转)
- C++ Builder 高手进阶 (五)用BCB编写多线程应用程序 (转)
- 24点游戏探秘系列6:用概率统计的眼光看24点游戏 (转)
- Schema-oriented message destination (转)
- J2EE vs. Microsoft.NET (转)
转载于:http://blog.itpub.net/10752043/viewspace-991897/