微软C#.net

  • u7_722249
    了解作者
  • 8.7MB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-20 04:23
    上传日期
详细介绍C#,从最基本开始,一直讲到事件和委托,有众多案列,附有注释,适合初学者,也适合做技术手册。
.NET.zip
  • 2012
  • TelephoneFormatter.cs
    2.6KB
  • 0.net介绍.ppt
    656KB
  • 2C#语句.ppt
    378.5KB
  • KCDG_1111070X_.NET程序设计.doc
    143KB
  • 自定义日期和时间格式字符串.pdf
    700.9KB
  • 3字符串.ppt
    891.5KB
  • customIEnumerator.cs
    2.1KB
  • 1类型概述.ppt
    403KB
  • 标准 TimeSpan 格式字符串.pdf
    313.2KB
  • arrayproperty.cs
    2.2KB
  • Unicode1.pdf
    286.8KB
  • 1类型转换.ppt
    1.3MB
  • AcctNumberFormat.cs
    3.1KB
  • 3数组 .ppt
    242KB
  • 分析数值字符串.pdf
    266.1KB
  • 自定义数字格式说明符.pdf
    301.3KB
  • 4分布类、抽象类、密封类.ppt
    231.5KB
  • 9格式化字符串.ppt
    811.5KB
  • Array类公开的成员.pdf
    282.5KB
  • 分析日期和时间字符串.pdf
    255.5KB
  • OverFlowTest.cs
    1.8KB
  • SYDG_1111070X_.NET程序设计.doc
    40KB
  • arrayobject.cs
    1.1KB
  • 自定义的 TimeSpan 格式字符串.pdf
    574.2KB
  • 分析其他字符串.pdf
    178.5KB
  • 教学日历-dotnet程序设计2012-2013 - 电商.doc
    52KB
  • MulicastDelegatetest.cs
    5.2KB
  • arrayoperation.cs
    2.5KB
  • 1值类型.ppt
    1.1MB
  • true-false.cs
    3.4KB
  • 4事件.ppt
    389KB
  • testthis.cs
    1.4KB
  • BinaryFormatter.cs
    5.2KB
  • customIconvertiable.cs
    3.1KB
  • 标准的数字格式说明符.pdf
    419.7KB
  • 标准日期和时间格式字符串.pdf
    495.4KB
  • 4委托.ppt
    313KB
  • 4继承与多态.ppt
    452KB
  • 2表达式.ppt
    192.5KB
  • 2异常处理.ppt
    585KB
  • CultureInfo 类.pdf
    562.5KB
  • 运算符.pdf
    263.3KB
  • 2C#运算符.ppt
    980.5KB
  • Complex.cs
    1.6KB
  • 1其他类型.ppt
    426.5KB
  • TestOverride.cs
    1.8KB
  • 3迭代器.ppt
    329.5KB
  • Arrayjagged.cs
    837B
  • 4接口.ppt
    186KB
  • arraylist成员.pdf
    214.3KB
  • 4类.ppt
    834KB
  • 校历.jpg
    239.1KB
  • objectinitilizator.cs
    2.4KB
  • SYZDS_1111070X_.NET程序设计.doc
    89KB
  • 教学日历-dotnet程序设计2012-2013-信管.doc
    52.5KB
  • abstractproperty.cs
    1.8KB
  • Unicode.pdf
    412.8KB
  • 0Visual Studio 简介.ppt
    259KB
  • changtypetest.cs
    8.5KB
  • OverrideAndNew2.cs
    4.8KB
  • Convert 方法.pdf
    487.6KB
  • MailToData.cs
    4.4KB
  • NumberFormatInfo 类.pdf
    546.7KB
  • arraycopy.cs
    2.4KB
  • XOR.cs
    1.9KB
  • 执行格式设置.pdf
    674.7KB
  • UncheckedDemo.cs
    2.2KB
  • ByteByByteFormatter.cs
    2.1KB
  • arraypropertyaccess.cs
    2.7KB
  • DateTimeFormatInfo 类.pdf
    626.9KB
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/628979b5b305d84a4fc76ddc/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/628979b5b305d84a4fc76ddc/bg1.jpg"><div class="t m0 x1 h2 y1 ff1 fs0 fc0 sc0 ls0 ws0">&#33258;&#23450;&#20041;&#26085;&#26399;&#21644;&#26102;&#38388;&#26684;<span class="_ _0"></span>&#24335;&#23383;&#31526;&#20018;<span class="ff2"> </span></div><div class="t m0 x1 h2 y2 ff1 fs0 fc0 sc0 ls0 ws0">&#26085;&#26399;&#21644;&#26102;&#38388;&#26684;&#24335;&#23383;&#31526;&#20018;&#23450;&#20041;&#30001;&#26684;&#24335;&#35774;&#32622;&#25805;&#20316;&#29983;&#25104;&#30340;<span class="ff2"> <span class="_"> </span>DateT<span class="_ _1"></span>ime <span class="_"> </span><span class="ff1">&#25110;</span> <span class="_"> </span>DateT<span class="_ _0"></span>imeOf<span class="_ _0"></span>fset <span class="_"> </span><span class="ff1">&#20540;&#30340;&#25991;&#26412;</span></span></div><div class="t m0 x1 h3 y3 ff1 fs0 fc0 sc0 ls0 ws0">&#34920;&#31034;&#24418;&#24335;&#12290;<span class="_ _2"></span>&#23427;&#36824;&#21487;&#23450;&#20041;<span class="_ _0"></span>&#20998;&#26512;&#25805;&#20316;&#20013;&#38656;&#35201;&#30340;<span class="_ _0"></span>&#26085;&#26399;&#21644;&#26102;&#38388;<span class="_ _0"></span>&#20540;&#30340;&#34920;&#31034;&#24418;&#24335;&#65292;<span class="_ _2"></span>&#20197;&#20415;&#25104;<span class="_ _0"></span>&#21151;&#23558;&#23383;&#31526;&#20018;&#36716;&#25442;</div><div class="t m0 x1 h3 y4 ff1 fs0 fc0 sc0 ls0 ws0">&#20026;&#26085;&#26399;&#21644;&#26102;&#38388;&#12290;<span class="_ _2"></span>&#33258;&#23450;&#20041;<span class="_ _0"></span>&#26684;&#24335;&#23383;&#31526;&#20018;&#30001;&#19968;&#20010;<span class="_ _0"></span>&#25110;&#22810;&#20010;&#33258;&#23450;<span class="_ _0"></span>&#20041;&#26085;&#26399;&#21644;&#26102;&#38388;&#26684;&#24335;&#35828;<span class="_ _0"></span>&#26126;&#31526;&#32452;&#25104;&#12290;<span class="_ _2"></span>&#20219;&#20309;&#19981;</div><div class="t m0 x1 h2 y5 ff1 fs0 fc0 sc0 ls0 ws0">&#26159;&#26631;&#20934;&#26085;&#26399;&#21644;&#26102;&#38388;&#26684;<span class="_ _0"></span>&#24335;&#23383;&#31526;&#20018;&#30340;&#23383;&#31526;&#20018;<span class="_ _0"></span>&#37117;&#20250;&#35299;&#37322;&#20026;&#33258;<span class="_ _0"></span>&#23450;&#20041;&#26085;&#26399;&#21644;&#26102;&#38388;&#26684;&#24335;<span class="_ _0"></span>&#23383;&#31526;&#20018;&#12290;<span class="ff2"> </span></div><div class="t m0 x1 h2 y6 ff1 fs0 fc0 sc0 ls0 ws0">&#33258;&#23450;&#20041;&#26085;&#26399;&#21644;&#26102;&#38388;&#26684;<span class="_ _0"></span>&#24335;&#23383;&#31526;&#20018;&#21487;&#20197;&#19982;<span class="ff2"> <span class="_ _3"> </span>DateT<span class="_ _1"></span>i<span class="_ _4"></span>m<span class="_ _0"></span>e <span class="_"> </span><span class="ff1">&#21644;</span> <span class="_"> </span>Da<span class="_ _4"></span>teT<span class="_ _1"></span>ime<span class="_ _0"></span>O<span class="_ _4"></span>ffse<span class="_ _0"></span>t <span class="_"> </span><span class="ff1">&#20540;&#19968;&#36215;&#20351;&#29992;&#12290;</span> </span></div><div class="c x2 y7 w2 h4"><div class="t m0 x3 h2 y8 ff1 fs0 fc0 sc0 ls0 ws0">&#25552;&#31034;<span class="ff2"> </span></div></div><div class="c x2 y9 w2 h5"><div class="t m0 x3 h2 ya ff1 fs0 fc0 sc0 ls0 ws0">&#21487;&#20197;&#19979;&#36733;<span class="ff2"> <span class="_"> </span>Fo<span class="_ _0"></span>r<span class="_ _4"></span>m<span class="_ _0"></span>at Utility<span class="_ _1"></span><span class="ff1">&#65288;&#26684;&#24335;&#23454;&#29992;&#24037;&#20855;&#65289;<span class="_ _5"></span>&#65292;<span class="_ _1"></span>&#36890;&#36807;&#35813;&#24212;<span class="_ _0"></span>&#29992;&#31243;&#24207;&#65292;<span class="_ _0"></span>&#24744;&#21487;<span class="_ _0"></span>&#23558;&#26684;&#24335;&#23383;&#31526;&#20018;&#24212;&#29992;<span class="_ _0"></span>&#20110;&#26085;&#26399;</span></span></div><div class="t m0 x3 h2 yb ff1 fs0 fc0 sc0 ls0 ws0">&#21644;&#26102;&#38388;&#25110;&#25968;&#20540;&#24182;&#26174;&#31034;<span class="_ _0"></span>&#32467;&#26524;&#23383;&#31526;&#20018;&#12290;<span class="_ _0"></span><span class="ff2"> </span></div></div><div class="t m0 x1 h2 yc ff1 fs0 fc0 sc0 ls0 ws0">&#22312;&#26684;&#24335;&#35774;&#32622;&#25805;&#20316;&#20013;&#65292;&#21487;&#23558;&#33258;&#23450;&#20041;<span class="_ _0"></span>&#26085;&#26399;&#21644;&#26102;&#38388;&#26684;&#24335;&#23383;&#31526;<span class="_ _0"></span>&#20018;&#19982;&#26085;&#26399;&#21644;&#26102;&#38388;&#23454;&#20363;&#30340;<span class="ff2"> <span class="_"> </span>T<span class="_ _1"></span>o<span class="_ _0"></span>String <span class="_"> </span><span class="ff1">&#26041;&#27861;</span></span></div><div class="t m0 x1 h2 yd ff1 fs0 fc0 sc0 ls0 ws0">&#25110;&#25903;&#25345;&#22797;&#21512;&#26684;&#24335;&#30340;&#26041;<span class="_ _0"></span>&#27861;&#32467;&#21512;&#20351;&#29992;&#12290;&#19979;&#38754;<span class="_ _0"></span>&#30340;&#31034;&#20363;&#28436;&#31034;&#20102;<span class="_ _0"></span>&#36825;&#20004;&#31181;&#29992;&#27861;&#12290;<span class="_ _0"></span><span class="ff2"> </span></div><div class="t m0 x1 h2 ye ff2 fs0 fc0 sc0 ls1 ws0">C#<span class="ls0"> </span></div><div class="t m0 x1 h2 yf ff2 fs0 fc0 sc0 ls2 ws0">VB<span class="_ _4"></span><span class="ls0"> </span></div><div class="t m0 x1 h2 y10 ff1 fs0 fc0 sc0 ls0 ws0">&#22797;&#21046;<span class="ff2"> </span></div><div class="t m0 x1 h2 y11 ff2 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x1 h2 y12 ff2 fs0 fc0 sc0 ls0 ws0">DateT<span class="_ _1"></span>i<span class="_ _4"></span>m<span class="_ _0"></span>e thisDate1 = new<span class="_ _0"></span> Da<span class="_ _4"></span>teT<span class="_ _0"></span>ime<span class="_ _0"></span>(201<span class="_ _0"></span>1, 6, 10)<span class="_ _4"></span>; </div><div class="t m0 x1 h2 y13 ff2 fs0 fc0 sc0 ls0 ws0">Con<span class="_ _0"></span>s<span class="_ _4"></span>ole<span class="_ _0"></span>.Writ<span class="_ _0"></span>e<span class="_ _4"></span>Lin<span class="_ _0"></span>e(<span class="_ _4"></span>"T<span class="_ _1"></span>oday is " + th<span class="_ _0"></span>isDa<span class="_ _4"></span>te1.T<span class="_ _1"></span>o<span class="_ _0"></span>Stri<span class="_ _4"></span>ng<span class="_ _0"></span>(<span class="_ _4"></span>"MMMM d<span class="_ _0"></span>d, yyyy") + "."<span class="ls3">);</span> </div><div class="t m0 x1 h2 y14 ff2 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x1 h2 y15 ff2 fs0 fc0 sc0 ls0 ws0">DateT<span class="_ _1"></span>i<span class="_ _4"></span>m<span class="_ _0"></span>eO<span class="_ _4"></span>f<span class="_ _0"></span>fset thisDate2 = n<span class="_ _0"></span>e<span class="_ _4"></span>w DateT<span class="_ _0"></span>ime<span class="_ _0"></span>O<span class="_ _4"></span>f<span class="_ _0"></span>fset(201<span class="_ _0"></span>1, 6, 10, 15, 24, 16, <span class="_"> </span> </div><div class="t m0 x1 h2 y16 ff2 fs0 fc0 sc0 ls4 ws0"> <span class="_ _0"></span> <span class="_ _0"></span> <span class="_ _0"></span><span class="ls0">T<span class="_ _0"></span>imeSpan<span class="_ _0"></span>.<span class="_ _4"></span>Ze<span class="_ _0"></span>r<span class="_ _4"></span>o); </span></div><div class="t m0 x1 h2 y17 ff2 fs0 fc0 sc0 ls0 ws0">Con<span class="_ _0"></span>s<span class="_ _4"></span>ole<span class="_ _0"></span>.Writ<span class="_ _0"></span>e<span class="_ _4"></span>Lin<span class="_ _0"></span>e(<span class="_ _4"></span>"The cu<span class="_ _0"></span>r<span class="_ _4"></span>rent d<span class="_ _0"></span>ate a<span class="_ _4"></span>nd<span class="_ _0"></span> <span class="_ _4"></span>time<span class="_ _0"></span>: {0:MM/dd/yy H:mm<span class="_ _0"></span>:ss zz<span class="_ _4"></span>z}"<span class="_ _4"></span>, <span class="_"> </span> </div><div class="t m0 x1 h2 y18 ff2 fs0 fc0 sc0 ls4 ws0"> <span class="ls0">th<span class="_ _0"></span>isDate2); <span class="_ _3"> </span> </span></div><div class="t m0 x1 h2 y19 ff2 fs0 fc0 sc0 ls0 ws0">// <span class="_ _0"></span>The examp<span class="_ _0"></span>l<span class="_ _4"></span>e display<span class="_ _0"></span>s t<span class="_ _4"></span>he<span class="_ _0"></span> <span class="_ _4"></span>following<span class="_ _0"></span> <span class="_ _4"></span>outpu<span class="_ _0"></span>t:<span class="_ _4"></span> </div><div class="t m0 x1 h2 y1a ff2 fs0 fc0 sc0 ls0 ws0">// <span class="_"> </span> <span class="_"> </span> <span class="_"> </span> <span class="_"> </span>T<span class="_ _1"></span>od<span class="_ _0"></span>ay is June 10, 201<span class="_ _1"></span>1.<span class="_ _4"></span> </div><div class="t m0 x1 h2 y1b ff2 fs0 fc0 sc0 ls0 ws0">// <span class="_"> </span> <span class="_"> </span> <span class="_"> </span> <span class="_"> </span>T<span class="_ _0"></span>he current d<span class="_ _0"></span>ate a<span class="_ _4"></span>nd<span class="_ _0"></span> <span class="_ _4"></span>time<span class="_ _0"></span>: 06/10/1<span class="_ _0"></span>1 15:24:16 +00:00 </div><div class="t m0 x1 h2 y1c ff2 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x1 h2 y1d ff2 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x1 h2 y1e ff1 fs0 fc0 sc0 ls4 ws0">&#22312;&#20998;&#26512;&#25805;&#20316;&#20013;&#65292;&#33258;&#23450;&#20041;&#26085;&#26399;&#21644;&#26102;&#38388;&#26684;&#24335;&#23383;&#31526;&#20018;&#21487;&#29992;&#20110;<span class="ff2 ls0"> <span class="_ _6"> </span>DateT<span class="_ _1"></span>i<span class="_ _4"></span>m<span class="_ _0"></span>e.ParseExact<span class="_"> </span><span class="ff1">&#12289;</span></span></div><div class="t m0 x1 h2 y1f ff2 fs0 fc0 sc0 ls0 ws0">DateT<span class="_ _1"></span>i<span class="_ _4"></span>m<span class="_ _0"></span>e.<span class="_ _4"></span>T<span class="_ _1"></span>r<span class="_ _4"></span>yParseExact<span class="ff1">&#12289;<span class="_ _7"></span><span class="ff2">DateT<span class="_ _1"></span>i<span class="_ _4"></span>m<span class="_ _0"></span>eOffse<span class="_ _0"></span>t.<span class="_ _4"></span>ParseExact <span class="_"> </span><span class="ff1">&#21644;</span> <span class="_"> </span>DateT<span class="_ _1"></span>i<span class="_ _4"></span>m<span class="_ _0"></span>eOffse<span class="_ _0"></span>t.<span class="_ _4"></span>T<span class="_ _1"></span>r<span class="_ _4"></span>yParseExact <span class="_"> </span><span class="ff1">&#26041;&#27861;&#12290;</span></span></span></div><div class="t m0 x1 h3 y20 ff1 fs0 fc0 sc0 ls0 ws0">&#36825;&#20123;&#26041;&#27861;&#38656;&#35201;&#19968;&#20010;&#23436;<span class="_ _0"></span>&#20840;&#31526;&#21512;&#20351;&#20998;&#26512;&#25805;&#20316;<span class="_ _0"></span>&#25104;&#21151;&#25152;&#38656;&#30340;&#29305;<span class="_ _0"></span>&#23450;&#27169;&#24335;&#30340;&#36755;&#20837;&#23383;&#31526;&#20018;&#12290;<span class="_ _8"></span>&#19979;&#38754;&#30340;&#31034;&#20363;<span class="_ _0"></span>&#28436;&#31034;</div><div class="t m0 x1 h2 y21 ff1 fs0 fc0 sc0 ls0 ws0">&#23545;<span class="ff2"> <span class="_"> </span>DateT<span class="_ _1"></span>i<span class="_ _4"></span>m<span class="_ _0"></span>eOffse<span class="_ _0"></span>t.<span class="_ _4"></span>ParseExact(Strin<span class="_ _0"></span>g, <span class="_ _9"></span>String, <span class="_ _9"></span>IFo<span class="_ _0"></span>r<span class="_ _4"></span>m<span class="_ _0"></span>a<span class="_ _4"></span>tProvide<span class="_ _0"></span>r)<span class="_ _4"></span> <span class="_"> </span><span class="ff1">&#26041;&#27861;&#30340;&#35843;&#29992;&#65292;&#20197;&#20998;&#26512;&#24517;<span class="_ _0"></span>&#39035;&#21253;&#25324;</span></span></div><div class="t m0 x1 h2 y22 ff1 fs0 fc0 sc0 ls0 ws0">&#26085;&#12289;&#26376;&#21644;&#20004;&#20301;&#25968;&#24180;&#20221;<span class="_ _0"></span>&#30340;&#26085;&#26399;&#12290;<span class="ff2"> </span></div><div class="t m0 x1 h2 y23 ff2 fs0 fc0 sc0 ls1 ws0">C#<span class="ls0"> </span></div><div class="t m0 x1 h2 y24 ff2 fs0 fc0 sc0 ls2 ws0">VB<span class="_ _4"></span><span class="ls0"> </span></div><div class="t m0 x1 h2 y25 ff1 fs0 fc0 sc0 ls0 ws0">&#22797;&#21046;<span class="ff2"> </span></div><div class="t m0 x1 h2 y26 ff2 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x1 h2 y27 ff2 fs0 fc0 sc0 ls0 ws0">using<span class="_ _0"></span> S<span class="_ _4"></span>ystem<span class="_ _0"></span>;<span class="_ _4"></span> </div><div class="t m0 x1 h2 y28 ff2 fs0 fc0 sc0 ls0 ws0">using<span class="_ _0"></span> S<span class="_ _4"></span>ystem<span class="_ _0"></span>.Globalization; </div><div class="t m0 x1 h2 y29 ff2 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x1 h2 y2a ff2 fs0 fc0 sc0 ls0 ws0">publ<span class="_ _0"></span>ic <span class="_ _4"></span>class Exam<span class="_ _0"></span>ple<span class="_ _4"></span> </div><div class="t m0 x1 h2 y2b ff2 fs0 fc0 sc0 ls0 ws0">{ </div><div class="t m0 x1 h2 y2c ff2 fs0 fc0 sc0 ls4 ws0"> <span class="ls0">pu<span class="_ _0"></span>blic static void Main<span class="_ _0"></span>() </span></div><div class="t m0 x1 h2 y2d ff2 fs0 fc0 sc0 ls4 ws0"> <span class="ls0">{ </span></div><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a></div><div class="pi" data-data='{"ctm":[1.611792,0.000000,0.000000,1.611792,0.000000,0.000000]}'></div></div> </body> </html>
评论
    相关推荐