Advertisement
Guest User

stackList

a guest
Dec 7th, 2016
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.20 KB | None | 0 0
  1. public class CSMethod
  2.     {
  3.         public override string ToString()
  4.         {
  5.             //my ToString() Here...
  6.         }
  7.  
  8.         public customMethod(string stringone, string stringtwo, int stringthree, string stringfour, string stringthree)
  9.         {
  10.             this.p_stringone = stringone;
  11.             this.p_stringtwo = stringtwo;
  12.             this.p_stringthree = stringthree;
  13.             this.p_stringfour = stringfour;
  14.            
  15.         }
  16.  
  17.         public string ONE
  18.         {
  19.             get { return p_stringone; }
  20.             set { p_stringone = value; }
  21.         }
  22.  
  23.         public string TWO
  24.         {
  25.             get { return p_stringtwo; }
  26.             set { p_stringtwo = value; }
  27.         }
  28.  
  29.         public int THREE
  30.         {
  31.             get { return p_stringthree; }
  32.             set { p_stringthree = value; }
  33.         }
  34.  
  35.         public string FOUR
  36.         {
  37.             get { return p_stringfour; }
  38.             set { p_stringfour = value; }
  39.         }
  40.  
  41.        
  42.         private string p_stringone = string.Empty;
  43.         private string p_stringtwo = string.Empty;
  44.         private int p_stringthree = 0;
  45.         private string p_stringfour = string.Empty;
  46.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement