摘要:
1:首先新建一个解决方案2:右击解决方案添加一个控制台程序3:对着新建好的控制台程序右击添加wcf服务最后的结果:有3个文件 app.config Iwcf_server.cs wcf_server.cs 一个配置文件 一个接口类 一个继承接口的文件。代码:Iwcf_server.csusing System;using System.Collections.Generic;using System.Linq;using System.Runtime.Serialization;using System.ServiceModel;using System.Text;namespace w_sp 阅读全文
posted @ 2014-03-06 14:18
Y.G.H
阅读(186)
评论(0)
推荐(0)
摘要:
// /// 计算字符串中子串出现的次数 /// /// 字符串 /// 子串 /// 出现的次数 static int SubstringCount(string str, string substring) { if (str.Contains(substring)) { string t_sp= str.Replace(substring, ""); return (str.Leng... 阅读全文
posted @ 2014-03-06 14:14
Y.G.H
阅读(329)
评论(0)
推荐(0)
浙公网安备 33010602011771号