- 博客(4)
- 资源 (22)
- 收藏
- 关注
原创 C# 动态编译代码实现
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.CodeDom.Compiler;using Microsoft.CSharp;using System.Web;using System.Reflection;namespac
2010-11-20 13:50:00 7128 2
原创 关于C#扩展方法
今天在论坛上看到一问题,是这样描述的:我有个student.cs 模型class student{public string Sname{get;set;}public int Money{get;set;}} 已有的集合 IList list = new List(); student s1 = new student {Sname = "周星驰" ,60}; student s2 = new student {Sname = "
2010-11-15 15:56:00 3877 2
转载 C# 各种字符串格式
C#的String.Format举例stringstr1 =string.Format("{0:N1}",56789); //result: 56,789.0stringstr2 =string.Format("{0:N2}",56789); //result: 56,789.00stringstr3 =string.Format("{0:N3}",56789); //result: 56,789.000
2010-11-05 15:21:00 13927 4
转载 假设你的收入只有2000元 如何分配有意义
<br />假设你的月收入只有2000元,你也可以过得很好。我帮你把钱分成五份。第一份600元,第二份400元,第三份300元,第四份200元,第五份500元。 <br />第一份,用来做生活费。这么少的生活费,每天只能够分到十几元。早餐一份煮米丝,一个鸡蛋,一杯豆浆。中餐一份快餐,一个水果。晚餐自己开个小灶,煮点饭,加俩菜,睡前一杯奶。这样一天的伙食大概是500-600。不过,如果你还年轻,身体暂时还没有太多问题,这样的食谱,够你数年内不会有健康问题。 <br />第二份,用来交朋友,扩大你的人际圈。这就
2010-11-02 12:59:00 1996 9
MVVM Demo for WPF
2012-03-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人