Bank app sesjon1
This commit is contained in:
parent
0aa442271f
commit
b4890bdccb
16
Emne 3/BankAppMarie/BankAppMarie.sln
Normal file
16
Emne 3/BankAppMarie/BankAppMarie.sln
Normal 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
|
11
Emne 3/BankAppMarie/BankAppMarie/Account.cs
Normal file
11
Emne 3/BankAppMarie/BankAppMarie/Account.cs
Normal file
|
@ -0,0 +1,11 @@
|
|||
namespace BankAppMarie
|
||||
{
|
||||
internal class Account
|
||||
{
|
||||
int _balance;
|
||||
string _accountName;
|
||||
bool _savingsAccount;
|
||||
string _accountNumber;
|
||||
string[] _accountTransactions;
|
||||
}
|
||||
}
|
7
Emne 3/BankAppMarie/BankAppMarie/Bank.cs
Normal file
7
Emne 3/BankAppMarie/BankAppMarie/Bank.cs
Normal file
|
@ -0,0 +1,7 @@
|
|||
namespace BankAppMarie
|
||||
{
|
||||
public class Bank
|
||||
{
|
||||
|
||||
}
|
||||
}
|
10
Emne 3/BankAppMarie/BankAppMarie/BankAppMarie.csproj
Normal file
10
Emne 3/BankAppMarie/BankAppMarie/BankAppMarie.csproj
Normal 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>
|
11
Emne 3/BankAppMarie/BankAppMarie/Bill.cs
Normal file
11
Emne 3/BankAppMarie/BankAppMarie/Bill.cs
Normal file
|
@ -0,0 +1,11 @@
|
|||
namespace BankAppMarie
|
||||
{
|
||||
public class Bill
|
||||
{
|
||||
int _amount;
|
||||
string _accountNumber;
|
||||
string _sender;
|
||||
string _kidNr;
|
||||
DateTime _payDate;
|
||||
}
|
||||
}
|
11
Emne 3/BankAppMarie/BankAppMarie/Customer.cs
Normal file
11
Emne 3/BankAppMarie/BankAppMarie/Customer.cs
Normal file
|
@ -0,0 +1,11 @@
|
|||
namespace BankAppMarie
|
||||
{
|
||||
public class Customer
|
||||
{
|
||||
string _CustomerName;
|
||||
string _socialSecurityNumber;
|
||||
Account _savingsAccount;
|
||||
Account _currentAccount;
|
||||
|
||||
}
|
||||
}
|
14
Emne 3/BankAppMarie/BankAppMarie/Program.cs
Normal file
14
Emne 3/BankAppMarie/BankAppMarie/Program.cs
Normal 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
|
||||
|
Loading…
Reference in a new issue