摘要:
String.Format("{0,-10}",str);//这个表示第一个参数str字符串的宽度为10,左对齐String.Format("{0,10}",str);//这个表示第一个参数str字符串的宽度为10,右对齐参考:From MSDNFormat Item SyntaxEach format item takes the following form and consists of the following components:{index[,alignment][:formatString]}The matching braces (& 阅读全文
摘要:
class Program { static void Main(string[] args) { Console.WriteLine("****************************************************************\n"); Console.WriteLine("Http Response Header Resolver V1.00.00\n"); Console.WriteLine("input a url for example:w... 阅读全文