Bank app sesjon1

This commit is contained in:
Geir Okkenhaug Jerstad 2024-11-27 10:51:48 +01:00
parent 0aa442271f
commit b4890bdccb
7 changed files with 80 additions and 0 deletions

View file

@ -0,0 +1,16 @@

Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BankAppMarie", "BankAppMarie\BankAppMarie.csproj", "{BDDFEA1E-DAD7-4658-89FE-38EB71243E37}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{BDDFEA1E-DAD7-4658-89FE-38EB71243E37}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BDDFEA1E-DAD7-4658-89FE-38EB71243E37}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BDDFEA1E-DAD7-4658-89FE-38EB71243E37}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BDDFEA1E-DAD7-4658-89FE-38EB71243E37}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal

View file

@ -0,0 +1,11 @@
namespace BankAppMarie
{
internal class Account
{
int _balance;
string _accountName;
bool _savingsAccount;
string _accountNumber;
string[] _accountTransactions;
}
}

View file

@ -0,0 +1,7 @@
namespace BankAppMarie
{
public class Bank
{
}
}

View file

@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

View file

@ -0,0 +1,11 @@
namespace BankAppMarie
{
public class Bill
{
int _amount;
string _accountNumber;
string _sender;
string _kidNr;
DateTime _payDate;
}
}

View file

@ -0,0 +1,11 @@
namespace BankAppMarie
{
public class Customer
{
string _CustomerName;
string _socialSecurityNumber;
Account _savingsAccount;
Account _currentAccount;
}
}

View file

@ -0,0 +1,14 @@
// Logge inn
// Sec
// Overføre Penger - egne konto
// Betale regninger
// Overføre mellom to konto
// Sjekke Saldo
// opprette sparekonto
// Sette inn penger
// Objekter
// Konto
// Kunde
// Regning