Skip to content

Commit

Permalink
Imtihon is Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdurahmon0412 committed Aug 10, 2023
1 parent e168ebc commit 32f72ee
Show file tree
Hide file tree
Showing 9 changed files with 84 additions and 2 deletions.
12 changes: 11 additions & 1 deletion Homeworks.sln
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "N21", "N21", "{1B9C8189-61E
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "N21_Interface", "N21_Interface", "{1E3B46C5-6289-417F-94BE-45CE100A96F6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "N21_Interface1", "N21_Interface1\N21_Interface1.csproj", "{F26AE334-DB40-46DF-AB84-0D9AD2FE74B5}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "N21_Interface1", "N21_Interface1\N21_Interface1.csproj", "{F26AE334-DB40-46DF-AB84-0D9AD2FE74B5}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "N21_ImtihonUptadate", "N21_ImtihonUptadate", "{0F11A119-2C25-46CF-AC3F-C66073C85C86}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Imtihon_Update", "Imtihon_Update\Imtihon_Update.csproj", "{CD7B1616-9B70-4FC8-BB1A-3B41E766E078}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down Expand Up @@ -311,6 +315,10 @@ Global
{F26AE334-DB40-46DF-AB84-0D9AD2FE74B5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F26AE334-DB40-46DF-AB84-0D9AD2FE74B5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F26AE334-DB40-46DF-AB84-0D9AD2FE74B5}.Release|Any CPU.Build.0 = Release|Any CPU
{CD7B1616-9B70-4FC8-BB1A-3B41E766E078}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CD7B1616-9B70-4FC8-BB1A-3B41E766E078}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CD7B1616-9B70-4FC8-BB1A-3B41E766E078}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CD7B1616-9B70-4FC8-BB1A-3B41E766E078}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -375,6 +383,8 @@ Global
{3ED5EB28-7030-4269-9EAF-AC34BC23A51D} = {5D0A5ACF-8665-4299-8A8E-D79498D3D059}
{1E3B46C5-6289-417F-94BE-45CE100A96F6} = {1B9C8189-61EE-400A-9EF2-5711CDBC0211}
{F26AE334-DB40-46DF-AB84-0D9AD2FE74B5} = {1E3B46C5-6289-417F-94BE-45CE100A96F6}
{0F11A119-2C25-46CF-AC3F-C66073C85C86} = {1B9C8189-61EE-400A-9EF2-5711CDBC0211}
{CD7B1616-9B70-4FC8-BB1A-3B41E766E078} = {0F11A119-2C25-46CF-AC3F-C66073C85C86}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {8B77269B-B20D-4860-9637-2E2771096EE6}
Expand Down
12 changes: 12 additions & 0 deletions Imtihon_Update/DispatchEmail.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Imtihon_Update
{
internal class DispatchEmail
{
}
}
10 changes: 10 additions & 0 deletions Imtihon_Update/Imtihon_Update.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>
12 changes: 12 additions & 0 deletions Imtihon_Update/Interfaces/IRegistrationService.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Imtihon_Update.Interfaces
{
internal interface RegistrationService
{
}
}
12 changes: 12 additions & 0 deletions Imtihon_Update/Interfaces/IUser.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Imtihon_Update.Interfaces
{
internal interface IUser
{
}
}
2 changes: 2 additions & 0 deletions Imtihon_Update/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");
12 changes: 12 additions & 0 deletions Imtihon_Update/Registrationservice.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Imtihon_Update
{
internal class Registrationservice
{
}
}
12 changes: 12 additions & 0 deletions Imtihon_Update/User.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Imtihon_Update
{
internal class User
{
}
}
2 changes: 1 addition & 1 deletion N21_Interface1/Cards/MilliyHumo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ internal class MilliyHumo : IDebitCard

public MilliyHumo(string cardnumber, string bankname,double balance = 0)
{
if (cardnumber.Length < 16 || string.IsNullOrWhiteSpace(cardnumber))
if (string.IsNullOrWhiteSpace(cardnumber))
throw new ArgumentException("Invalid card number");
if (string.IsNullOrWhiteSpace(bankname))
throw new ArgumentException("Invalid Bank name");
Expand Down

0 comments on commit 32f72ee

Please sign in to comment.