摘要: using System; using System.Text; namespace ReferenceType { class Program { static void Main(string[] args) { //引用类型 在内存的栈上面只存储一个引用,在内存的堆上面才会存储具体的值 //o 阅读全文
posted @ 2016-03-30 18:10 CrazyBun.apk 阅读(186) 评论(3) 推荐(0) 编辑
摘要: using System; namespace ValueType { class Program { /// <summary> /// 类似Java中的“/**”注释 /// </summary> /// <param name=" args"></param> static void Main 阅读全文
posted @ 2016-03-30 18:09 CrazyBun.apk 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Intent i = new Intent(CurrActivity.this, AnotherActivity.class); i.putExtra("name", "这里可以传入各种常用数据类型,包括Bundle"); 在AnotherActivity中可以通过 getIntent()方法获取C 阅读全文
posted @ 2016-03-29 23:40 CrazyBun.apk 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 启动Activity Intent intent = new Intent(CurrActivity.this, AnotherActivity.class); startActivity(new Inten); startActivity(new Inten); 启动一个页面 startActiv 阅读全文
posted @ 2016-03-28 23:11 CrazyBun.apk 阅读(157) 评论(0) 推荐(0) 编辑