摘要:
c#是微软.net架构的主力开发语言,它功能广泛而强大,web开发人员应该毫不犹豫地
拥抱它。本文就通过一个摄氏温度与华氏温度间相互转换的例子对c#
的gui编程进行介绍,旨在带领你快速步入c#之强大与神奇的编程世界。
准备条件
要理解本文所举例程,首先要对c#和面向对象的编程有一个基本的了解。关于 c#的基本
知识,请参阅 c#入门
这篇文章。要编译并运行举例的应用程序,就需 下......
摘要:
calling jaba program from c#
author date of submission user level
maheswara rao 07/18/2001 intermediate
source code sunmsmsrao.zip 7 kb
hi sharpers
this is mahesh again after some break......
c#里正则表达式的例子
using system.text.regularexpressions;
using system;
class validation
{
public static void main()
{
string strtotest;
validation objvalidate=new validation();
console.write("enter a string to test for alphabets:");
strtotest=console.readline();
if(objvalidate.isalpha(strtotest))
{
console.writeline("{0} is valid alpha string",strtotest);
}
else
{
console.writeline("{0} is not a valid alpha string",strtotest);
}
}
// function to test for positive integers.
public bool isnaturalnumber(string strnumber)
{
regex objnotnaturalpattern=new regex("[^0-9]");
regex objnaturalpattern=new regex("0*[1-9][0-9]*");
return !objnotnaturalpattern.ismatch(strnumber) &&
&nbs...
下一页 摘要:
//希望通过这篇文章,你可以用c#写出自己的email客户端程序
this is a follow up to my smtp example that shows how to access your pop3 server. this program connects and logs on to your pop3 server, and checks to see how......