- 博客(6)
- 收藏
- 关注
原创 codeforces-16A-A. Flag (C && 简单模拟 && 暴力农夫山泉)
A. Flagtime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputAccording to a new ISO standard, a flag of every cou
2016-10-17 16:44:58 831
转载 C#基本知识 -- App.config文件的配置与读取
对于需要配置的常量,在App.config中进行配置,格式为:如:[html] view plain copyxml version="1.0" encoding="utf-8" ?> configuration> appSettings> add key="SourceFolder" value="D:\
2016-10-14 11:38:17 2065
转载 ConfigurationSettings.AppSettings 已过时
警告"System.Configuration.ConfigurationSettings.AppSettings”已过时,解决办法今天用VS2010开发一个WebPart时,里面写了一个连接数据库的语句。其中字符串string cnnStr = System.Configuration.ConfigurationSettings.AppSettings["cn
2016-10-14 11:36:17 2720 1
转载 C#调用耗时函数时显示进度条浅探
最近在做一个VSS日志分析工具,使用C#进行开发,在完成了所有功能后,发现,从服务器下载VSS日志非常耗时,因为此,导致工具使用体验不好,所以,准备增加一个进度条。鉴于C#不经常使用,一下子搞个进度条貌似比较难,而且其他的开发任务也在一并进行,所以,昨天一天,并没有多大的进展。今天,是周末,正好可以利用,在查阅了大量网上资料以及实例后,我制作了几个实例,以备后来之用。使用C#显示进度条
2016-10-12 16:56:19 1328
转载 C# 访问共享文件夹或者磁盘(需要用户名密码)
SharedTool:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; namespace ConsoleApplication5 { public cla
2016-10-10 17:34:55 11177
原创 codeforces-3A-A. Winner (C++ && 简单模拟)
A. Winnertime limit per test1 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputThe winner of the card game popular in Berland "Ber
2016-10-09 14:45:05 582
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人