Create a class library project called 'BankLibrary' with the following classes:
* SBAccount class * SBTransaction class
- AccountNumber - TransactionId
- CustomerName - TransactionDate
- CustomerAddress - AccountNumber
- CurrentBalance - Amount
- TransactionType
using System;
using System.Collections.Generic;
namespace App
{
class SBAccount
{
public string AccountNumber{get;set;}
public string CustomerName { get; set; }
public string CustomerAddress { get; set; }
public double CurrentBalance { get; set; }
}
class SBTransaction {
public string TransactionId { get; set; }
public string TransactionDate { get; set; }
public string AccountNumber { get; set; }
public double Amount { get; set; }
}
class Program
{
static void Main(string[] args)
{
Console.ReadLine();
}
}
}
Comments
Leave a comment