æ¡å¼µã¡ã½ãã
C#3.0ã®ã¢ã¬ãNemerleã§ããµãã¼ãããã¾ããã
using System; module Extentions { public ToInt32 (this s : string) : int { Int32.Parse (s) } } def s = "123"; Console.WriteLine ("s = {0}", s.ToInt32 ());
æ§æã¯C#3.0åæ§ãå¼æ°ã®åã«thisãä»ããããã§ãããã¨ãNullableããµãã¼ããããè¦ããã§ããã使ãæ¹ãåãããªã(ã³ã³ãã¤ã«ã¨ã©ã¼ã«ãªã)ã®ã§ãµã³ãã«å¾ ã¡ã§ãã(^^;
ã¡ãªã¿ã«Nemerleã«ãããC#3.0ç¸å½æ©è½ã®å®è£ ç¶æ³ã¯ã
- LINQ
- Monoã®äººããªã¼ãã³ã½ã¼ã¹System.Query.dllããããã¦ãmacroãä½æä¸ãããã
- åæ¨è«
- å®è£ æ¸ã¿ãC#3.0ããå¼·åã
- æ¡å¼µã¡ã½ãã
- å®è£ æ¸ã¿ã
- ã©ã ãå¼
- å®è£ æ¸ã¿ã
- ã¤ãã·ã£ã©ã¤ã¶
- æªå®è£ ã
- å¿åå
- æªå®è£ ã
- æé»åä»ãé å
- åæ¨è«ã«å«ã¾ããã