Advertisement
Dennisaa

Calleree01

Nov 26th, 2015
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.48 KB | None | 0 0
  1. namespace CalleeNs
  2. {
  3.     public class Callee {
  4.        
  5.        
  6.         public Callee(string FromTheCaller) {
  7.             System.Console.WriteLine("[{0}]", FromTheCaller);
  8.         }
  9.     }
  10. }
  11.  
  12. using System;
  13. using CalleeNs;
  14.  
  15. namespace CallerNs
  16. {
  17.     public class Program
  18.     {
  19.         public void Main(string[] args)
  20.         {
  21.             var callee = new Callee("If thisx is displayed then I have found the callee");
  22.             Console.WriteLine("[In the Caller: as simple as it gets]");
  23.         }
  24.     }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement