2004-07-01ãã1ã¶æéã®è¨äºä¸è¦§
äºå®éããæ³¥ã®ããã«å¯ã¦ããããã£ã¤ã ããªããæè¨ãè¦ãã¨11æãã ããã®ã§ç¡è¦ããããã¨æãã¾ããããã²ãã£ã¨ããã解ææ¬ããã£ã¨ããã¦ã¦åºãã¨ããã£ã±ããã¼ã§ãããæ©éãè²·ãã®ãæ¥ããããã¨è©å¤ã®è¡¨ç´ããã£ããæè¦ãã ããããã¶ãã¸ããâ¦
解æéæ³å°å¥³ç¾å²ã¡ãã ãã¸ã«ã«ã»ãªã¼ãã³ï¼çºå£²ï¼ï¼ ãããããããã®èæ¸ãçºå£²ã¨ãªãã¾ããããã®åã¾ã§å·çã«è¿½ããã¦ããã¨æã£ã¦ãã®ã«ããªãããã£ã¨ããéãªæ°ããã¾ãããã®ã¹ãã¼ããæç¶ã§ãããå¹´éï¼ï¼åãããåºãã¦ãã¾ãããã»ã»ã»ï¼ããâ¦
ã»IronPython released ãã¤ã®éã«ããªãªã¼ã¹ããã¦ãã¼ãæ©éãå¼ããããã ãã©ãæéãã(^^;
ããæ°æ¥ãæã®5æé ã¡ãã£ã¨ã ãå¯ã¦åºå¤ã¨ããçæ´»ãç¶ãã¦ããã®ã§ãããããé§ç®ãåæã¯æ³¥ã®ããã«ç ããã»ã»ã»
HTMLã®æå解æã¯ããå«ã ã»ã»ã»ã¨ãã¡ãã£ã¨å¼±ã£ã¦ããã®ã§ããããã¿ããªãã®ã§çµå±Visual Studioç«ã¡ä¸ããç¾½ç®ã«ã(^^;ãã¦ãWinFormãªã¢ããªãä½ãã¨ã³ã³ããã¼ã«ã«å¤ãå ¥ãããæ»ãããã¨ããåç´ä½æ¥ã«çµæ§æéãæãã£ãããã¾ãããã®è¾ºã®è¨è¨ã¯MVCâ¦
ã»NET Reflector, Version 4.0.17.0 Reflectorã¯ãã¼ã¸ã§ã³ã¢ãããã¨ã¦ãæ©ãã§ããããã¥ã¼ã¹ã§åãä¸ãã¦ããéã«æ¬¡ã®ãã¼ã¸ã§ã³ãåºã¦ããã¨ãã(ç¬)ãæåã®é ã¯ãã¡ãã¥ã¼ã®Help(H)âCheck for Updateã§ã¢ãããã¼ãåºæ¥ãã®ãç¥ããªãã§ãæ¯åãã¦ã³ãâ¦
ã¯ã¦ãªãå§ãã¦ããã以åãããè±èªã®Blogããã§ãã¯ããããã«ãªãã¾ãããç§ã¯è±èªãå ¨ç¶é§ç®ã§ãæ ããªã話ã§ããBlogã®ä¸æèªãã®ã«ä½åè¾æ¸ãå¼ãã¦ãããã ï¼ã¨çªã£ãã¿ãããªãã»ã©ã§ãããããæ°ã¶ææãã£ã¦ããã£ã¨è¾æ¸ã(ããã¾ã)å¼ããªãã§èªâ¦
ããä¸è´ãã¦ããªãã®ã¯åãã£ã¦ãã¾ãããããã§ãããç¨åº¦ãæ³åãã¤ããã®ã«ãã¦æ¬²ããã§ããããã¨ããã§ã.NET2.0ã§ã¯ã¹ãã·ã£ã«ãã©ã«ããåå¾ããã¯ã©ã¹ããµãã¼ãããã¾ãããåå空éã¯System.IOã§ãããã¦ããã®SpecialDirectoriesã¯ã©ã¹ã使ãã«â¦
Cã§ã¯CTRL-Cããã©ããããã®ã«signalé¢æ°ã使ã£ãããã¾ãããã.NET2.0ã§ã¯Consoleã¯ã©ã¹ã§ãµãã¼ããã¦ãããããã«ãªãã¾ããã using System; class Program { static void Main(string[] args) { // CancelKeyPressã¤ãã³ããç»é² Console.CancelKeyPrâ¦
.NET2.0ã§ã¯Consoleã¯ã©ã¹ãçµæ§å¼·åããã¦ããã¿ããã§ããç¹ã«ãã¼ãæ¼ããã¦ãããã©ãããå¤å®ã§ããããã«ãªã£ãã®ãå¬ãããæ©éããããã¡ãªã²ã¼ã ããããã¦ã¿ã¾ããã(^^; using System; class Program { const int W = 79; const int H = 24; statâ¦
http://d.hatena.ne.jp/akiramei/20040710#p3 ããªããã£ãåã«å¯¾ãã¦Operatorã使ããããã«ã¨ã®è¦æãããã£ã¦ãã¾ããããä»ã®ã¨ããæ票ã¯7ã¤ã§ãããã¾å¿ è¦ã¨ããã¦ããªãæãã§ããå¤åãæ¡ç¨ãããªãæ°ãããã®ã§èªåã§ããªããã£ãåã«å¯¾ããã¸ã§ãâ¦
æ¥è¨ãä¸æ¸ããã¦æ½°ãã¦ãã¾ãã¾ãããã¯ã¦ãªã«ã¢ããããã½ã¼ã¹ã¯åé¤ãã¦ããã®ã§æå ã«ã½ã¼ã¹ã³ã¼ãããç¡ãç¶æ ãªã®ã§ãããªãã·ã§ãã¯ããªãã¨ãè¨æ¶ããå¼ã£å¼µãåºãã¦ã½ã¼ã¹ã ãã¯å¾©å ãã¾ãããåãããããããã§è¨±ãã¦ã»ã»ã»ç¢ºãããããªæãã§å§â¦
Unicodeã¯æåã¨ã³ã³ã¼ãã£ã³ã°ã®ä¸ç¨®ã§ããæåã®æ§è³ªãå®ç¾©ããã¦ãã¾ããããã§è¨ãæ§è³ªã¨ã¯ä¾ãã°å¤§æåã ã¨ãæ°åã ã¨ãè¨å·ã¨ãã£ããã®ã§ããUnicodeããµãã¼ããã¦ããæ£è¦è¡¨ç¾ã§ã¯ãã®ãããªæ§è³ªã使ã£ã¦ãããããããã¨ãåºæ¥ã¾ãã(ã¨ãæã£ããâ¦
.NETã§ã®Unicodeããããã£ã使ã£ãæ£è¦è¡¨ç¾ãç´å¾ã®ãããªãçµæã ã£ãã®ã§Javaã§ããã¹ããã¦ã¿ã¾ããã import java.util.regex.Pattern; import java.util.regex.Matcher; import java.util.regex.PatternSyntaxException; class Program { public statiâ¦
ãªãã¨ãªãæ£è¦è¡¨ç¾å ¥éè¬åº§ãç¥ã£ã¦ãã人ãèªãã§ãä½ã®åèã«ããªããªãã¬ãã«ãªã®ã§èªã¿é£ã°ãã¦ãã ããã(^^; ã»ã¯ã¤ã«ãã«ã¼ãã¨ãã£ã¡ãã«ããªã ã¯ã¤ã«ãã«ã¼ãã¨æ£è¦è¡¨ç¾ã§ã¯*ã?ã®æå³ãéãã¾ãã ã¯ã¤ã«ãã«ã¼ãã®å ´åã A* ã¨ãããã°Aã®å¾ã«â¦
viã§æ£è¦è¡¨ç¾ãè¦ãããããæ©è½æ¡å¼µããã¦ããé¨åã¯çãã£ãããã¾ããç¹ã«(?ã§å§ã¾ããã®ã¯è¦æã§ç²¾ã (?:...)ãããããç¥ããªãã£ããã使ããæ¦å¨ã¯å¤ãæ¹ãè¯ãã®ã§ã¡ãã£ã¨åå¼·ãç´ãã¦ãã¾ãã (?=...) : è¯å®å èªã¿ (? (?!...) : å¦å®å èªã¿ (?
ä»åã¯åã«ã¤ãã¦ã§ããC#ãã£ã¦ã¦C++ãç¥ããªãå ´åãclass/structã§æ··ä¹±ããããããã¾ãããC++ã«ãããclass/structã¯åã«ã¢ã¯ã»ã¹ä¿®é£¾åã®ããã©ã«ããprivate/publicã®éãã ãã§ããã§ã¯å¤åãåç §åã¯ä½ã§æ±ºã¾ãã®ãã¨ããã¨ref/valueãã¼ã¯ã¼ãã«å â¦
templateã¨genericsã®æ¯è¼ãgenericsã¯ããtemplateã¿ãããªãã®ã¨ç´¹ä»ããã¾ãããå®éã®ã¨ããtemplateã«æ¯ã¹ãã¨åºæ¥ããã¨ã¯ããªãéå®ããã¦ãã¾ãããªã®ã§ãboostã¿ãããªã©ã¤ãã©ãªããããã¦ãããï¼ã¿ãããªãã¨èãã¦ããã¨ã¬ãã«ãªãã¾ãã(^^; â¦
åºæ¬ããã¨ãããã¨ã§æååã¨é åã«ã¤ãã¦å®é¨ã§ãã #include "stdafx.h" using namespace System; using namespace System::Runtime::InteropServices; using namespace std; // arrayãpin_ptrã使ãã®ã«å¿ è¦ using namespace stdcli::language; void teâ¦
æè¿ããã£ããé ã®ãã¦ããC++ã§ãããä»åã¯çµæ§å¤ãã£ãã®ã§ã¡ãã£ã¨å¼ã£ã¦ã¿ããã¨æãã¾ãã #include "stdafx.h" using namespace System; // ãã¤ãã£ããªã¯ã©ã¹ class NativeClass { std::string name; public: NativeClass(const std::string& nameâ¦
ã³ã¡ã³ãã¸ã®ã¬ã¹ã§ãã(^^; Nemerleã®ãã¯ãã ã¨ã³ã³ãã¤ã«æã¨å®è¡æã®ä¸¡æ¹ã§å¼ã³åºãããã®ã§ãã³ã³ãã¤ã«æã«ãã«ããã«ãããã°åºæ¥ããã§ãããC#ã§ã¯ãããªå°ç´°å·¥åºæ¥ãªãã®ã§ãã³ã¡ã³ãã¨ã#ifã#endifã¨ãã§åãè¾¼ãã§å¦çããããç¡ãæ°ããã¾ããâ¦
ã»Refactoring C# Code Using Visual Studio 2005 VS2005ã§ã®ãªãã¡ã¯ã¿ãªã³ã°æ©è½ã®ç´¹ä»ã Peli's Blogãã ã»NCover tutorial ããã¾ã使ãæ¹ãåãã£ã¦ãªãã£ãã®ã§å©ããã¾ãã
åãã¦.NETã®ãã¼ã¿ãã¼ã¹é¢é£ã®ã¯ã©ã¹ãè¦ãã¨ããããSystem.Data以ä¸ã®ä½ãã«çåãæãã¦ãã¾ãããä¾ãã°ãOleDbConnectionã¯OLE DBç¨ã®æ¥ç¶ã¯ã©ã¹ã§ããã System.Object System.MarshalByRefObject System.ComponentModel.Component System.Data.OleDâ¦
ã¡ãã£ã¨åã«Windows.Formsãè¦ã¦ãããããªãã¨ãè¨ã£ã¦ãã¾ããããGUIé¢é£ã¯ç»åããªãåããé£ãæ¥è¨åããªãã¿ãããªãã®ã§ãã£ããæ¢ãã¦ãã¯ã©ã¹ã©ã¤ãã©ãªæ¢ç´¢ã«ãã¾ããã(^^; ä»åã¯ãªãã¬ã¯ã·ã§ã³é¢é£ã§è¿½å ãããMethodBodyãå¼ã£ã¦ã¿ã¾ããã #â¦
ã»Compatibility Considerations and Version Changes .NET2.0ã§ã®å¤æ´ç¹ã
.NET2.0ã§Beepããµãã¼ãããããããå¨æ³¢æ°ãæå®ã§ããã®ã§ã¡ãã£ã¨æ¼å¥ããã¦ã¿ã¾ããã #region Using directives using System; using System.Collections.Generic; using System.Text; #endregion namespace ConsoleApplication1 { enum SCALE { C = 0â¦
ãªã³ã¯å ã表示ãããªããªã£ãæ°ãã»ã»ã»ã¦ãã ãï¼ ã»ã»ã»ã§ã¯ç¡ã模æ§ã
C#2.0ã®ç®æ°ããæ©è½ã¯ã ãããå¼ã£ã¦ã¿ãã®ã§ãããããGUIé¢é£ã«æãåºãã¦ã¿ã¾ãã.NET2.0ã§ã¯å¿µé¡ã®WebBrowserã³ã³ããã¼ã«ããµãã¼ããããã¢ããªã±ã¼ã·ã§ã³ã«æ軽ã«Webãã©ã¦ã¶æ©è½ãã¤ãããã¨ãåºæ¥ã¾ããç»é¢ãããã©ã¼ã ã«WebBrowserã³ã³ããã¼ã«â¦
æ¥é±ãå人ãæ¥ãã®ã§é¨å±ã®æé¤ã模æ§æ¿ããã¡ã¾ã¡ã¾ãå°±è·ãã¦å°å ãé¢ãã¦ãããé¨å±ã«å人ãæ¥ããã¨ãªããï¼å¹´éã§ï¼åã»ã©ãããªããªã(å½ç¶ãå°å ã®å人)ããããã§æ®æ®µã¯æ£ãããä¸æ§ã ã£ãããã¾ããããããä¸äººã§ä¼æ¥ãéãããã¨ï¼å¹´ã¨ããã®ãâ¦
Product Feedback Centerãè¦ã¤ããã®ã§ãGenericsã§æ¼ç®åããµãã¼ããã¦æ¬²ããã¨è¦æããããã¨ããã£ãããæ¢ã«Allow operator overloads in interfaces(è¦Passportã¢ã«ã¦ã³ã)ãããã¾ãããããç»é²æ¥ãä¸å¤ã ã