C# 使用反射技术实例化指定的类
C#之玩转反射
Reactive Extensions入门
IoC solutions for Unity
introtorx
ReactiveX/RxJava文档中文版
Intro To RxJava 系列教程Read
UML 2 教程
C# 函数式编程
Roguelikedev
RogueSharp Tutorials
CSharp Tutorials
MMORPG开发入门
网游服务端开发入门知识
cmake -G "Visual Studio 14 2015 Win64"
public test()
{
var o = Observable.Generate(
0,
i => i < 10,
i => i + 1,
i => i*i);
o.Subscribe(x => { Console.WriteLine(x); });
Console.WriteLine("=====================");
IEnumerable<int> squares = Enumerable.Range(0, 10).Select(x => x*x);
foreach (var x in squares)
{
Console.WriteLine(x);
}
Console.WriteLine("=====================");
ICollection<int> ss = new Collection<int>() {1,2,3,4};
Console.WriteLine(ss.Count);
var n2 = ss.Where(x => x%2 == 0).Select(x => x).ToList();
foreach (var i in n2)
{
Console.WriteLine(i);
}
}
public IEnumerable<int> e(int max)
{
for (int i = 0; i < max; i++)
{
yield return i * i;
}
}
网友评论