DemoLoan/.vs/DemoLoan/v16/.suo
DemoLoan/DemoLoan.sln
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30011.22
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DemoLoan3", "DemoLoan\DemoLoan3.csproj", "{E91D200B-EC18-42AA-B121-1E916F6E6FEC}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E91D200B-EC18-42AA-B121-1E916F6E6FEC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E91D200B-EC18-42AA-B121-1E916F6E6FEC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E91D200B-EC18-42AA-B121-1E916F6E6FEC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E91D200B-EC18-42AA-B121-1E916F6E6FEC}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {5D46158A-919D-48DD-BDFE-4F006A18D60E}
EndGlobalSection
EndGlobal
DemoLoan/DemoLoan/bin/Debug/netcoreapp3.1/DemoLoan.deps.json
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v3.1",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v3.1": {
"DemoLoan/1.0.0": {
"runtime": {
"DemoLoan.dll": {}
}
}
}
},
"libraries": {
"DemoLoan/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
DemoLoan/DemoLoan/bin/Debug/netcoreapp3.1/DemoLoan.dll
DemoLoan/DemoLoan/bin/Debug/netcoreapp3.1/DemoLoan.exe
DemoLoan/DemoLoan/bin/Debug/netcoreapp3.1/DemoLoan.pdb
DemoLoan/DemoLoan/bin/Debug/netcoreapp3.1/DemoLoan.runtimeconfig.dev.json
{
"runtimeOptions": {
"additionalProbingPaths": [
"C:\\Users\\Aditya_Lakhera\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\Aditya_Lakhera\\.nuget\\packages"
]
}
}
DemoLoan/DemoLoan/bin/Debug/netcoreapp3.1/DemoLoan.runtimeconfig.json
{
"runtimeOptions": {
"tfm": "netcoreapp3.1",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "3.1.0"
}
}
}
DemoLoan/DemoLoan/bin/Debug/netcoreapp3.1/DemoLoan3.deps.json
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v3.1",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v3.1": {
"DemoLoan3/1.0.0": {
"runtime": {
"DemoLoan3.dll": {}
}
}
}
},
"libraries": {
"DemoLoan3/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
DemoLoan/DemoLoan/bin/Debug/netcoreapp3.1/DemoLoan3.dll
DemoLoan/DemoLoan/bin/Debug/netcoreapp3.1/DemoLoan3.exe
DemoLoan/DemoLoan/bin/Debug/netcoreapp3.1/DemoLoan3.pdb
DemoLoan/DemoLoan/bin/Debug/netcoreapp3.1/DemoLoan3.runtimeconfig.dev.json
{
"runtimeOptions": {
"additionalProbingPaths": [
"C:\\Users\\Aditya_Lakhera\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\Aditya_Lakhera\\.nuget\\packages"
]
}
}
DemoLoan/DemoLoan/bin/Debug/netcoreapp3.1/DemoLoan3.runtimeconfig.json
{
"runtimeOptions": {
"tfm": "netcoreapp3.1",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "3.1.0"
}
}
}
DemoLoan/DemoLoan/CarLoan.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace DemoLoan
{
class CarLoan : Loan
{
private int year;
private string make;
private const int EARLIEST_YEAR = 2006;
private const int LOWEST_INVALID_NUM = 1000;
public CarLoan()
{
}
public CarLoan(int num, string name, double amount, int year, string make) : base(num, name, amount)
{
Year = year;
Make = make;
}
public int Year
{
set
{
if (value < EARLIEST_YEAR)
{
year = value;
loanAmount = 0;
}
else
{
year = value;
}
}
get
{
return year;
}
}
public string Make
{
set
{
make = value;
}
get
{
return make;
}
}
public new int LoanNumber
{
get
{
return base.LoanNumber;
}
set
{
if (value < LOWEST_INVALID_NUM)
{
base.LoanNumber = value;
}
else
{
base.LoanNumber = value % LOWEST_INVALID_NUM;
}
}
}
}
}
DemoLoan/DemoLoan/DemoLoan3.csproj
Exe
netcoreapp3.1
DemoLoan/DemoLoan/Loan.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace DemoLoan
{
class Loan
{
private int loanNumber;
private string lastName;
protected double loanAmount;
public const double MINIMUM_LOAN = 5000;
public Loan()
{
}
public Loan(int num, string name, double amount)
{
LoanNumber = num;
LastName = name;
LoanAmount = amount;
}
public int LoanNumber
{
set
{
loanNumber = value;
}
get
{
return loanNumber;
}
}
public string LastName
{
...