Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.74 KB | None | 0 0
  1. using System;
  2.  
  3. namespace banka
  4. {
  5.     public class Account
  6.     {
  7.         public string Name { get; set;}
  8.         public string Address { get; set;}
  9.         public int Phone { get; set;}
  10.         public int initAmount { get; set;}
  11.         public string Password { get; set;}
  12.         public string rePassword { get; set;}
  13.  
  14.         public int accNumber { get; set;}
  15.  
  16.         public Account (string name, string address, int phone, int amount, string pass, string repass, int accnumber)
  17.         {
  18.             Name = name;
  19.             Address = address;
  20.             Phone = phone;
  21.             initAmount = amount;
  22.             Password = pass;
  23.             rePassword = repass;
  24.             accNumber = accnumber;
  25.  
  26.  
  27.         }
  28.  
  29.  
  30.     }
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement