• R/O
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

練習用です。いろんなものがごちゃまぜです。


Commit MetaInfo

Revision119 (tree)
Time2016-01-18 10:03:41
Authorbellyoshi

Log Message

Change Summary

Incremental Difference

--- tanosii/chap01/chap04/Program.cs (revision 118)
+++ tanosii/chap01/chap04/Program.cs (revision 119)
@@ -10,7 +10,7 @@
1010 {
1111 static void Main(string[] args)
1212 {
13- list1.start(args);
13+ list2.start(args);
1414 Console.ReadKey();
1515 }
1616 }
--- tanosii/chap01/chap04/list2.cs (nonexistent)
+++ tanosii/chap01/chap04/list2.cs (revision 119)
@@ -0,0 +1,17 @@
1+using System;
2+using System.Collections.Generic;
3+using System.Linq;
4+using System.Text;
5+using System.Threading.Tasks;
6+
7+namespace chap04
8+{
9+ class list2
10+ {
11+ public static void start(string[] args)
12+ {
13+ int[] a = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
14+ foreach (var item in a.Skip(2).Take(3)) Console.Write(item);
15+ }
16+ }
17+}