lab7
This commit is contained in:
parent
225058cf52
commit
9089b795a5
@ -99,7 +99,6 @@ namespace speed_Boat.Generics
|
|||||||
if (!File.Exists(filename))
|
if (!File.Exists(filename))
|
||||||
throw new FileNotFoundException("Файл не найден");
|
throw new FileNotFoundException("Файл не найден");
|
||||||
|
|
||||||
string bufferTextFromFile = "";
|
|
||||||
using (StreamReader sr = new(filename))
|
using (StreamReader sr = new(filename))
|
||||||
{
|
{
|
||||||
if (sr.ReadLine() != "BoatStorage")
|
if (sr.ReadLine() != "BoatStorage")
|
||||||
|
@ -14,7 +14,6 @@ namespace SpeedBoatLab
|
|||||||
[STAThread]
|
[STAThread]
|
||||||
static void Main()
|
static void Main()
|
||||||
{
|
{
|
||||||
|
|
||||||
ApplicationConfiguration.Initialize();
|
ApplicationConfiguration.Initialize();
|
||||||
var services = new ServiceCollection();
|
var services = new ServiceCollection();
|
||||||
ConfigureServices(services);
|
ConfigureServices(services);
|
||||||
|
Loading…
Reference in New Issue
Block a user