程序员七夕的浪漫

 1 public interface ILove {
 2          void Love(People people);
 3          void Happy(Life life);
 4     }
 5 public class Me:ILove
 6     {     
 7         private static readonly You you;  
 8         private static Me me = null;     
 9         private  Me() {   }
10         public static Me getInstance()  {
11             if (me == null)  {
12                 me = new Me();
13             }
14             return me;
15         } 
16 public void Love(You you)  {            
17             for (day = today; day < Life.length; day++)  {
18                 Love++;
19             }
20         }
21 public void Happy(Life ourLife)  {
22             try   {                
23                MyHeart.Write("Your smile is my favorite happy! ");
24                if (ourLife.trouble==true) {
25                    Fight(me);
26                }   
27              }
28             catch {
29                 Believe(you);                
30             }
31             finally  {
32                 MyHeart.Write("We will be together,forever! ");
33             }
34         }
35     }
36 public  class You : ILove
37   {    
38         //You found me and open my heart !     
39         Me me = Me.getInstance();
40         public  void Love(People me){         
41            //It's my pretty dream for you.I want the people is me!
42         }
43         public   void Happy(Life ourLife) {
44            //About you now!
45         }
46     }
47 
posted @ 2009-08-26 00:08  Luffy Huang  阅读(1336)  评论(0编辑  收藏  举报