diff --git a/20241114/WpfApp1/.vs/WpfApp1/DesignTimeBuild/.dtbcache.v2 b/20241114/WpfApp1/.vs/WpfApp1/DesignTimeBuild/.dtbcache.v2 index edf5ff0..c47a604 100644 Binary files a/20241114/WpfApp1/.vs/WpfApp1/DesignTimeBuild/.dtbcache.v2 and b/20241114/WpfApp1/.vs/WpfApp1/DesignTimeBuild/.dtbcache.v2 differ diff --git a/20241114/WpfApp1/.vs/WpfApp1/FileContentIndex/9c5860d6-1ebe-4c50-af04-f6243291d3b2.vsidx b/20241114/WpfApp1/.vs/WpfApp1/FileContentIndex/4b0d56f5-514d-4976-9cc6-5f7d1603d6d2.vsidx similarity index 80% rename from 20241114/WpfApp1/.vs/WpfApp1/FileContentIndex/9c5860d6-1ebe-4c50-af04-f6243291d3b2.vsidx rename to 20241114/WpfApp1/.vs/WpfApp1/FileContentIndex/4b0d56f5-514d-4976-9cc6-5f7d1603d6d2.vsidx index 703a1de..f460241 100644 Binary files a/20241114/WpfApp1/.vs/WpfApp1/FileContentIndex/9c5860d6-1ebe-4c50-af04-f6243291d3b2.vsidx and b/20241114/WpfApp1/.vs/WpfApp1/FileContentIndex/4b0d56f5-514d-4976-9cc6-5f7d1603d6d2.vsidx differ diff --git a/20241114/WpfApp1/.vs/WpfApp1/v17/.futdcache.v2 b/20241114/WpfApp1/.vs/WpfApp1/v17/.futdcache.v2 index 39d4196..58db574 100644 Binary files a/20241114/WpfApp1/.vs/WpfApp1/v17/.futdcache.v2 and b/20241114/WpfApp1/.vs/WpfApp1/v17/.futdcache.v2 differ diff --git a/20241114/WpfApp1/.vs/WpfApp1/v17/.suo b/20241114/WpfApp1/.vs/WpfApp1/v17/.suo index d293689..2f431b6 100644 Binary files a/20241114/WpfApp1/.vs/WpfApp1/v17/.suo and b/20241114/WpfApp1/.vs/WpfApp1/v17/.suo differ diff --git a/20241114/WpfApp1/.vs/WpfApp1/v17/DocumentLayout.backup.json b/20241114/WpfApp1/.vs/WpfApp1/v17/DocumentLayout.backup.json index 0899263..1634c7c 100644 --- a/20241114/WpfApp1/.vs/WpfApp1/v17/DocumentLayout.backup.json +++ b/20241114/WpfApp1/.vs/WpfApp1/v17/DocumentLayout.backup.json @@ -2,13 +2,13 @@ "Version": 1, "WorkspaceRootPath": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241114\\WpfApp1\\", "Documents": [ - { - "AbsoluteMoniker": "D:0:0:{4D23C152-5118-46D6-876C-1B2C49E49D88}|WpfApp1\\WpfApp1.csproj|c:\\users\\szabomarton\\desktop\\c#\\progaora\\20241114\\wpfapp1\\wpfapp1\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}", - "RelativeMoniker": "D:0:0:{4D23C152-5118-46D6-876C-1B2C49E49D88}|WpfApp1\\WpfApp1.csproj|solutionrelative:wpfapp1\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}" - }, { "AbsoluteMoniker": "D:0:0:{4D23C152-5118-46D6-876C-1B2C49E49D88}|WpfApp1\\WpfApp1.csproj|c:\\users\\szabomarton\\desktop\\c#\\progaora\\20241114\\wpfapp1\\wpfapp1\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{4D23C152-5118-46D6-876C-1B2C49E49D88}|WpfApp1\\WpfApp1.csproj|solutionrelative:wpfapp1\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{4D23C152-5118-46D6-876C-1B2C49E49D88}|WpfApp1\\WpfApp1.csproj|c:\\users\\szabomarton\\desktop\\c#\\progaora\\20241114\\wpfapp1\\wpfapp1\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}", + "RelativeMoniker": "D:0:0:{4D23C152-5118-46D6-876C-1B2C49E49D88}|WpfApp1\\WpfApp1.csproj|solutionrelative:wpfapp1\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}" } ], "DocumentGroupContainers": [ @@ -18,11 +18,11 @@ "DocumentGroups": [ { "DockedWidth": 200, - "SelectedChildIndex": 0, + "SelectedChildIndex": 1, "Children": [ { "$type": "Document", - "DocumentIndex": 0, + "DocumentIndex": 1, "Title": "MainWindow.xaml", "DocumentMoniker": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241114\\WpfApp1\\WpfApp1\\MainWindow.xaml", "RelativeDocumentMoniker": "WpfApp1\\MainWindow.xaml", @@ -34,13 +34,13 @@ }, { "$type": "Document", - "DocumentIndex": 1, + "DocumentIndex": 0, "Title": "MainWindow.xaml.cs", "DocumentMoniker": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241114\\WpfApp1\\WpfApp1\\MainWindow.xaml.cs", "RelativeDocumentMoniker": "WpfApp1\\MainWindow.xaml.cs", "ToolTip": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241114\\WpfApp1\\WpfApp1\\MainWindow.xaml.cs", "RelativeToolTip": "WpfApp1\\MainWindow.xaml.cs", - "ViewState": "AgIAAB4AAAAAAAAAAAAowCgAAAAZAAAAAAAAAA==", + "ViewState": "AgIAABYAAAAAAAAAAAAgwCIAAABiAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2024-11-14T06:51:07.508Z", "EditorCaption": "" diff --git a/20241114/WpfApp1/.vs/WpfApp1/v17/DocumentLayout.json b/20241114/WpfApp1/.vs/WpfApp1/v17/DocumentLayout.json index 0899263..1634c7c 100644 --- a/20241114/WpfApp1/.vs/WpfApp1/v17/DocumentLayout.json +++ b/20241114/WpfApp1/.vs/WpfApp1/v17/DocumentLayout.json @@ -2,13 +2,13 @@ "Version": 1, "WorkspaceRootPath": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241114\\WpfApp1\\", "Documents": [ - { - "AbsoluteMoniker": "D:0:0:{4D23C152-5118-46D6-876C-1B2C49E49D88}|WpfApp1\\WpfApp1.csproj|c:\\users\\szabomarton\\desktop\\c#\\progaora\\20241114\\wpfapp1\\wpfapp1\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}", - "RelativeMoniker": "D:0:0:{4D23C152-5118-46D6-876C-1B2C49E49D88}|WpfApp1\\WpfApp1.csproj|solutionrelative:wpfapp1\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}" - }, { "AbsoluteMoniker": "D:0:0:{4D23C152-5118-46D6-876C-1B2C49E49D88}|WpfApp1\\WpfApp1.csproj|c:\\users\\szabomarton\\desktop\\c#\\progaora\\20241114\\wpfapp1\\wpfapp1\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{4D23C152-5118-46D6-876C-1B2C49E49D88}|WpfApp1\\WpfApp1.csproj|solutionrelative:wpfapp1\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{4D23C152-5118-46D6-876C-1B2C49E49D88}|WpfApp1\\WpfApp1.csproj|c:\\users\\szabomarton\\desktop\\c#\\progaora\\20241114\\wpfapp1\\wpfapp1\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}", + "RelativeMoniker": "D:0:0:{4D23C152-5118-46D6-876C-1B2C49E49D88}|WpfApp1\\WpfApp1.csproj|solutionrelative:wpfapp1\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}" } ], "DocumentGroupContainers": [ @@ -18,11 +18,11 @@ "DocumentGroups": [ { "DockedWidth": 200, - "SelectedChildIndex": 0, + "SelectedChildIndex": 1, "Children": [ { "$type": "Document", - "DocumentIndex": 0, + "DocumentIndex": 1, "Title": "MainWindow.xaml", "DocumentMoniker": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241114\\WpfApp1\\WpfApp1\\MainWindow.xaml", "RelativeDocumentMoniker": "WpfApp1\\MainWindow.xaml", @@ -34,13 +34,13 @@ }, { "$type": "Document", - "DocumentIndex": 1, + "DocumentIndex": 0, "Title": "MainWindow.xaml.cs", "DocumentMoniker": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241114\\WpfApp1\\WpfApp1\\MainWindow.xaml.cs", "RelativeDocumentMoniker": "WpfApp1\\MainWindow.xaml.cs", "ToolTip": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241114\\WpfApp1\\WpfApp1\\MainWindow.xaml.cs", "RelativeToolTip": "WpfApp1\\MainWindow.xaml.cs", - "ViewState": "AgIAAB4AAAAAAAAAAAAowCgAAAAZAAAAAAAAAA==", + "ViewState": "AgIAABYAAAAAAAAAAAAgwCIAAABiAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2024-11-14T06:51:07.508Z", "EditorCaption": "" diff --git a/20241114/WpfApp1/WpfApp1/bin/Debug/net8.0-windows/WpfApp1.dll b/20241114/WpfApp1/WpfApp1/bin/Debug/net8.0-windows/WpfApp1.dll index 70fcd64..b99fe08 100644 Binary files a/20241114/WpfApp1/WpfApp1/bin/Debug/net8.0-windows/WpfApp1.dll and b/20241114/WpfApp1/WpfApp1/bin/Debug/net8.0-windows/WpfApp1.dll differ diff --git a/20241114/WpfApp1/WpfApp1/bin/Debug/net8.0-windows/WpfApp1.exe b/20241114/WpfApp1/WpfApp1/bin/Debug/net8.0-windows/WpfApp1.exe index 23554d7..f1a3e81 100644 Binary files a/20241114/WpfApp1/WpfApp1/bin/Debug/net8.0-windows/WpfApp1.exe and b/20241114/WpfApp1/WpfApp1/bin/Debug/net8.0-windows/WpfApp1.exe differ diff --git a/20241114/WpfApp1/WpfApp1/bin/Debug/net8.0-windows/WpfApp1.pdb b/20241114/WpfApp1/WpfApp1/bin/Debug/net8.0-windows/WpfApp1.pdb index 277c996..0c39dfd 100644 Binary files a/20241114/WpfApp1/WpfApp1/bin/Debug/net8.0-windows/WpfApp1.pdb and b/20241114/WpfApp1/WpfApp1/bin/Debug/net8.0-windows/WpfApp1.pdb differ diff --git a/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1.AssemblyInfo.cs b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1.AssemblyInfo.cs index 1d0b5a1..9d40ba3 100644 --- a/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1.AssemblyInfo.cs +++ b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1.AssemblyInfo.cs @@ -14,7 +14,7 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("WpfApp1")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+89f67d62d98d3df3124198bd7e9a76ada332e6ca")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+db1b67ebf80cb9002d1b9bbd582061007b545c3c")] [assembly: System.Reflection.AssemblyProductAttribute("WpfApp1")] [assembly: System.Reflection.AssemblyTitleAttribute("WpfApp1")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1.AssemblyInfoInputs.cache b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1.AssemblyInfoInputs.cache index 7d7a270..f54a7ee 100644 --- a/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1.AssemblyInfoInputs.cache +++ b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1.AssemblyInfoInputs.cache @@ -1 +1 @@ -c680d7df846aff8cb07214850fbfd626ab294d74137561e2543060ef9f9b67e5 +486fd5b3204f2c1e98a8432419ce4de9e2972b5bbe73dd4f233e4fd7cad252dd diff --git a/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1.dll b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1.dll index 70fcd64..b99fe08 100644 Binary files a/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1.dll and b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1.dll differ diff --git a/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1.pdb b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1.pdb index 277c996..0c39dfd 100644 Binary files a/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1.pdb and b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1.pdb differ diff --git a/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1_f0de00kn_wpftmp.AssemblyInfo.cs b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1_f0de00kn_wpftmp.AssemblyInfo.cs new file mode 100644 index 0000000..9d40ba3 --- /dev/null +++ b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1_f0de00kn_wpftmp.AssemblyInfo.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("WpfApp1")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+db1b67ebf80cb9002d1b9bbd582061007b545c3c")] +[assembly: System.Reflection.AssemblyProductAttribute("WpfApp1")] +[assembly: System.Reflection.AssemblyTitleAttribute("WpfApp1")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] +[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")] +[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1_f0de00kn_wpftmp.AssemblyInfoInputs.cache b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1_f0de00kn_wpftmp.AssemblyInfoInputs.cache new file mode 100644 index 0000000..f54a7ee --- /dev/null +++ b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1_f0de00kn_wpftmp.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +486fd5b3204f2c1e98a8432419ce4de9e2972b5bbe73dd4f233e4fd7cad252dd diff --git a/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1_f0de00kn_wpftmp.GeneratedMSBuildEditorConfig.editorconfig b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1_f0de00kn_wpftmp.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..28ad067 --- /dev/null +++ b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1_f0de00kn_wpftmp.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,13 @@ +is_global = true +build_property.TargetFramework = net8.0-windows +build_property.TargetPlatformMinVersion = 7.0 +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = WpfApp1_f0de00kn_wpftmp +build_property.ProjectDir = C:\Users\szabomarton\Desktop\C#\ProgaOra\20241114\WpfApp1\WpfApp1\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1_f0de00kn_wpftmp.GlobalUsings.g.cs b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1_f0de00kn_wpftmp.GlobalUsings.g.cs new file mode 100644 index 0000000..08bb19f --- /dev/null +++ b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1_f0de00kn_wpftmp.GlobalUsings.g.cs @@ -0,0 +1,6 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.Linq; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1_f0de00kn_wpftmp.assets.cache b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1_f0de00kn_wpftmp.assets.cache new file mode 100644 index 0000000..561353c Binary files /dev/null and b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1_f0de00kn_wpftmp.assets.cache differ diff --git a/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1_f0de00kn_wpftmp.csproj.BuildWithSkipAnalyzers b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/WpfApp1_f0de00kn_wpftmp.csproj.BuildWithSkipAnalyzers new file mode 100644 index 0000000..e69de29 diff --git a/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/apphost.exe b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/apphost.exe index 23554d7..f1a3e81 100644 Binary files a/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/apphost.exe and b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/apphost.exe differ diff --git a/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/ref/WpfApp1.dll b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/ref/WpfApp1.dll index 6026469..ae63684 100644 Binary files a/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/ref/WpfApp1.dll and b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/ref/WpfApp1.dll differ diff --git a/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/refint/WpfApp1.dll b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/refint/WpfApp1.dll index 6026469..ae63684 100644 Binary files a/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/refint/WpfApp1.dll and b/20241114/WpfApp1/WpfApp1/obj/Debug/net8.0-windows/refint/WpfApp1.dll differ diff --git a/20241121/ConsoleApp1/.vs/ConsoleApp1/FileContentIndex/91c471f6-2593-4d12-8f69-65ff0d5c35b8.vsidx b/20241121/ConsoleApp1/.vs/ConsoleApp1/FileContentIndex/91c471f6-2593-4d12-8f69-65ff0d5c35b8.vsidx new file mode 100644 index 0000000..8ad6a9c Binary files /dev/null and b/20241121/ConsoleApp1/.vs/ConsoleApp1/FileContentIndex/91c471f6-2593-4d12-8f69-65ff0d5c35b8.vsidx differ diff --git a/20241121/ConsoleApp1/.vs/ConsoleApp1/v17/.suo b/20241121/ConsoleApp1/.vs/ConsoleApp1/v17/.suo new file mode 100644 index 0000000..7353efd Binary files /dev/null and b/20241121/ConsoleApp1/.vs/ConsoleApp1/v17/.suo differ diff --git a/20241121/ConsoleApp1/.vs/ConsoleApp1/v17/DocumentLayout.backup.json b/20241121/ConsoleApp1/.vs/ConsoleApp1/v17/DocumentLayout.backup.json new file mode 100644 index 0000000..df4b5d4 --- /dev/null +++ b/20241121/ConsoleApp1/.vs/ConsoleApp1/v17/DocumentLayout.backup.json @@ -0,0 +1,37 @@ +{ + "Version": 1, + "WorkspaceRootPath": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241121\\ConsoleApp1\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{B4808438-CC63-43F3-A06C-DF89A8AC84F8}|ConsoleApp1\\ConsoleApp1.csproj|c:\\users\\szabomarton\\desktop\\c#\\progaora\\20241121\\consoleapp1\\consoleapp1\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{B4808438-CC63-43F3-A06C-DF89A8AC84F8}|ConsoleApp1\\ConsoleApp1.csproj|solutionrelative:consoleapp1\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 0, + "Children": [ + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "Program.cs", + "DocumentMoniker": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241121\\ConsoleApp1\\ConsoleApp1\\Program.cs", + "RelativeDocumentMoniker": "ConsoleApp1\\Program.cs", + "ToolTip": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241121\\ConsoleApp1\\ConsoleApp1\\Program.cs", + "RelativeToolTip": "ConsoleApp1\\Program.cs", + "ViewState": "AgIAAHIAAAAAAAAAAAAAAIoAAAAyAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-11-21T07:02:57.923Z", + "EditorCaption": "" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/20241121/ConsoleApp1/.vs/ConsoleApp1/v17/DocumentLayout.json b/20241121/ConsoleApp1/.vs/ConsoleApp1/v17/DocumentLayout.json new file mode 100644 index 0000000..df4b5d4 --- /dev/null +++ b/20241121/ConsoleApp1/.vs/ConsoleApp1/v17/DocumentLayout.json @@ -0,0 +1,37 @@ +{ + "Version": 1, + "WorkspaceRootPath": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241121\\ConsoleApp1\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{B4808438-CC63-43F3-A06C-DF89A8AC84F8}|ConsoleApp1\\ConsoleApp1.csproj|c:\\users\\szabomarton\\desktop\\c#\\progaora\\20241121\\consoleapp1\\consoleapp1\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{B4808438-CC63-43F3-A06C-DF89A8AC84F8}|ConsoleApp1\\ConsoleApp1.csproj|solutionrelative:consoleapp1\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 0, + "Children": [ + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "Program.cs", + "DocumentMoniker": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241121\\ConsoleApp1\\ConsoleApp1\\Program.cs", + "RelativeDocumentMoniker": "ConsoleApp1\\Program.cs", + "ToolTip": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241121\\ConsoleApp1\\ConsoleApp1\\Program.cs", + "RelativeToolTip": "ConsoleApp1\\Program.cs", + "ViewState": "AgIAAHIAAAAAAAAAAAAAAIoAAAAyAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-11-21T07:02:57.923Z", + "EditorCaption": "" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/20241121/ConsoleApp1/ConsoleApp1.sln b/20241121/ConsoleApp1/ConsoleApp1.sln new file mode 100644 index 0000000..bb2dfd4 --- /dev/null +++ b/20241121/ConsoleApp1/ConsoleApp1.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.11.35222.181 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1\ConsoleApp1.csproj", "{B4808438-CC63-43F3-A06C-DF89A8AC84F8}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B4808438-CC63-43F3-A06C-DF89A8AC84F8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B4808438-CC63-43F3-A06C-DF89A8AC84F8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B4808438-CC63-43F3-A06C-DF89A8AC84F8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B4808438-CC63-43F3-A06C-DF89A8AC84F8}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {C72894E5-7C74-4219-BED3-2B9F0ABB742A} + EndGlobalSection +EndGlobal diff --git a/20241121/ConsoleApp1/ConsoleApp1/App.config b/20241121/ConsoleApp1/ConsoleApp1/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/20241121/ConsoleApp1/ConsoleApp1/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/20241121/ConsoleApp1/ConsoleApp1/ConsoleApp1.csproj b/20241121/ConsoleApp1/ConsoleApp1/ConsoleApp1.csproj new file mode 100644 index 0000000..6c53a28 --- /dev/null +++ b/20241121/ConsoleApp1/ConsoleApp1/ConsoleApp1.csproj @@ -0,0 +1,53 @@ + + + + + Debug + AnyCPU + {B4808438-CC63-43F3-A06C-DF89A8AC84F8} + Exe + ConsoleApp1 + ConsoleApp1 + v4.7.2 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/20241121/ConsoleApp1/ConsoleApp1/Program.cs b/20241121/ConsoleApp1/ConsoleApp1/Program.cs new file mode 100644 index 0000000..5cd0dd2 --- /dev/null +++ b/20241121/ConsoleApp1/ConsoleApp1/Program.cs @@ -0,0 +1,146 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.InteropServices; +using System.Text; +using System.Threading.Tasks; + +namespace ConsoleApp1 +{ + public class Csomopont + { + public int Adat { get; set; } + + public Csomopont Kovetkezo { get; set; } + public Csomopont(int adat) { + this.Adat = adat; + Kovetkezo = null; + } + } + + public class LancoltLista + { + private Csomopont fej; + + public LancoltLista() { + fej = null; + } + + public void Hozzaad(int adat) { + Csomopont ujcsomopont = new Csomopont(adat); + if (fej == null) + { + fej = ujcsomopont; + } + else + { + Csomopont jelenlegi = fej; + while (jelenlegi.Kovetkezo != null) + { + jelenlegi = jelenlegi.Kovetkezo; + } + + jelenlegi.Kovetkezo = ujcsomopont; + } + } + + public void Torol(int adat) + { + if (fej == null) + { + Console.WriteLine("A lista üres"); + return; + } + + if (fej.Adat == adat) + { + fej = fej.Kovetkezo; + return; + } + + Csomopont jelenlegi = fej; + + while(jelenlegi.Kovetkezo != null && jelenlegi.Kovetkezo.Adat != adat) + { + jelenlegi = jelenlegi .Kovetkezo; + } + + if (jelenlegi.Kovetkezo == null) + { + Console.WriteLine("At elem nem található a listában."); + } + else { + jelenlegi.Kovetkezo = jelenlegi.Kovetkezo.Kovetkezo; + } + + + } + + public void Kiir() + { + if (fej == null) + { + Console.WriteLine("A lista üres"); + return; + } + + Csomopont jelenlegi = fej; + while (jelenlegi != null) + { + Console.WriteLine(jelenlegi.Adat + " "); + jelenlegi = jelenlegi.Kovetkezo; + } + Console.WriteLine(); + } + } + internal class Program + { + static void Main(string[] args) + { + LancoltLista lancoltLista = new LancoltLista(); + lancoltLista.Hozzaad(10); + lancoltLista.Hozzaad(20); + lancoltLista.Hozzaad(30); + lancoltLista.Hozzaad(40); + + Console.WriteLine("Lista elemei: "); + lancoltLista.Kiir(); + + Console.WriteLine("Elem törlése (20):"); + lancoltLista.Torol(20); + lancoltLista.Kiir(); + + Console.WriteLine("Elem törlése (50):"); + lancoltLista.Torol(50); + lancoltLista.Kiir(); + + //kétszeresen láncolt lista + + LinkedList láncoltlista = new LinkedList(); + láncoltlista.AddLast("vár"); + láncoltlista.AddLast("kávé"); + láncoltlista.AddLast("autó"); + láncoltlista.AddFirst("asd"); + láncoltlista.RemoveLast(); + + + LinkedListNode newNOde = new LinkedListNode("value"); + láncoltlista.AddAfter(láncoltlista.First, newNOde); + + LinkedListNode linkedListNode = láncoltlista.First; + //Console.WriteLine(linkedListNode.Value); + + + foreach (string s in láncoltlista) { Console.WriteLine(s); } + + LinkedListNode nodelast = láncoltlista.Last; + while (nodelast != null) + { + Console.WriteLine(nodelast.Value); + nodelast = nodelast.Previous; + } + + Console.ReadLine(); + } + } +} diff --git a/20241121/ConsoleApp1/ConsoleApp1/Properties/AssemblyInfo.cs b/20241121/ConsoleApp1/ConsoleApp1/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..8f1c162 --- /dev/null +++ b/20241121/ConsoleApp1/ConsoleApp1/Properties/AssemblyInfo.cs @@ -0,0 +1,33 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("ConsoleApp1")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("ConsoleApp1")] +[assembly: AssemblyCopyright("Copyright © 2024")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("b4808438-cc63-43f3-a06c-df89a8ac84f8")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/20241121/ConsoleApp1/ConsoleApp1/bin/Debug/ConsoleApp1.exe b/20241121/ConsoleApp1/ConsoleApp1/bin/Debug/ConsoleApp1.exe new file mode 100644 index 0000000..cba1c12 Binary files /dev/null and b/20241121/ConsoleApp1/ConsoleApp1/bin/Debug/ConsoleApp1.exe differ diff --git a/20241121/ConsoleApp1/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config b/20241121/ConsoleApp1/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/20241121/ConsoleApp1/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/20241121/ConsoleApp1/ConsoleApp1/bin/Debug/ConsoleApp1.pdb b/20241121/ConsoleApp1/ConsoleApp1/bin/Debug/ConsoleApp1.pdb new file mode 100644 index 0000000..12c8ae7 Binary files /dev/null and b/20241121/ConsoleApp1/ConsoleApp1/bin/Debug/ConsoleApp1.pdb differ diff --git a/20241121/ConsoleApp1/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20241121/ConsoleApp1/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs new file mode 100644 index 0000000..3871b18 --- /dev/null +++ b/20241121/ConsoleApp1/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] diff --git a/20241121/ConsoleApp1/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20241121/ConsoleApp1/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache new file mode 100644 index 0000000..126ed02 Binary files /dev/null and b/20241121/ConsoleApp1/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache differ diff --git a/20241121/ConsoleApp1/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache b/20241121/ConsoleApp1/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..0be8d26 --- /dev/null +++ b/20241121/ConsoleApp1/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +137ddb1975586287657f37337b64d051167bb6a147915d9fb5b8eb94b1093509 diff --git a/20241121/ConsoleApp1/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt b/20241121/ConsoleApp1/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..0afe758 --- /dev/null +++ b/20241121/ConsoleApp1/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt @@ -0,0 +1,7 @@ +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241121\ConsoleApp1\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241121\ConsoleApp1\ConsoleApp1\bin\Debug\ConsoleApp1.exe +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241121\ConsoleApp1\ConsoleApp1\bin\Debug\ConsoleApp1.pdb +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241121\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241121\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241121\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.exe +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241121\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.pdb diff --git a/20241121/ConsoleApp1/ConsoleApp1/obj/Debug/ConsoleApp1.exe b/20241121/ConsoleApp1/ConsoleApp1/obj/Debug/ConsoleApp1.exe new file mode 100644 index 0000000..cba1c12 Binary files /dev/null and b/20241121/ConsoleApp1/ConsoleApp1/obj/Debug/ConsoleApp1.exe differ diff --git a/20241121/ConsoleApp1/ConsoleApp1/obj/Debug/ConsoleApp1.pdb b/20241121/ConsoleApp1/ConsoleApp1/obj/Debug/ConsoleApp1.pdb new file mode 100644 index 0000000..12c8ae7 Binary files /dev/null and b/20241121/ConsoleApp1/ConsoleApp1/obj/Debug/ConsoleApp1.pdb differ diff --git a/20241121/ConsoleApp1/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20241121/ConsoleApp1/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..e42596f Binary files /dev/null and b/20241121/ConsoleApp1/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/20241121/Órai.pdf b/20241121/Órai.pdf new file mode 100644 index 0000000..b03d21a Binary files /dev/null and b/20241121/Órai.pdf differ diff --git a/adatstrukturak b/adatstrukturak index 6422d6d..4983d79 100644 --- a/adatstrukturak +++ b/adatstrukturak @@ -136,3 +136,54 @@ Láncolt lista Míg egy tömb esetén ha tudjuk,hogy a k. elemet szeretnénk elérnim akkor a tömb indexelésével rögtön hozzáférhefünk ehhet az adathoz, addog a láncolt listában a lista elejéről indulva a mutatókon keresztül addig kell lépkedni, míg a k. elemhez nem értünk. A véletlenszerű lista elem megtalálása a lista hosszával arányos időt igényel. +Egyszeresen láncolt lista + Egyszeresen láncolt listában egy darab mutató jelöli a lista rákövetkező elemét. + Ha ismerjük a lista legelső elemét (lista feje), akkor abból elindulva a mutatók segítségével végig járhatjuk a listában tárolt elemeket. + A lista legutolsó elemének mutatójának értéke null, ez jelzi, hohgy tovább nem tudunk haladni a listában. + Láncolt lista esetén általában egyszeresen láncolt listára gondolunk. + + Csomopont osztály: az adatot és a következő elemre mutató referenciát tartalmazza. + LancoltLista osztály: tartalmazza a listához szükséges főbb műveletekez: + Hozzaad: új elemet ad a lista végéhez + Torol: töröl + Kiir: kiír + + Pogram osztály: + Teszteli a fenit műveleteket, létrehozza a listát, hozzáad elemeket, + töröl egy létező és egy nem létező elemet, majd kiírja a lista tartalmát. + +Kétszeresen láncolt lista + Kétszeresen láncolt lsuita esetán 2db hivatkozűs van egy csomópontban, + az egyik az előző a másik a következő csomópontra mutat, C# ban kétszeresen láncolt listák vannak. + Hasonlóan mint a listák, szintén osztályból vannak létrehozva és ezért referencia típus, + természetesen referencia másolás történik értékadásnál. + + Mint a listák esetében is a LinkedList beírása utám a <> jelek közé kerül a láncolt listánk típusa és a megszokott név, + egyenlőségjel a new operátor valamint újra a LinkedList és el ne felejtsük a zárójeleket! + + LinkedList lancoltlista = new LinkedList(); + + Ezután a Linkedlist.AddLast(érték) metódussal tudunk a listánk végére beszúrni egy elemet, + vagy például az AddFirst(érték) metódussal pedig a lista első helyére. + +Láncolt listák fontos metódusai + LinkedList.RemoveLast/First törli a lista utolsó vagy első elemét. + + LinkedListNode = LinkedList.Last/First + Visszaadja egy adott listában szereplő első vagy utolsó csomópontot, amelyben megtalálhatjuk a következő csinópontra mutató hivatkozást. + + A LinkedList objektumban minden csomópont LinkedListNode típusú. + Mivel a LinkedList kétszeresen kapcsolódik, minden csomópont előre mutat a köevtkező csomópontra, illetve hátra az előzőre. + + LinkedList.AddAfter(LinkedListNode, value) / AddBefore + Egy csomópont elé vagy után szúr be adatot. + + LinkedListNode = LinkedList.Find(keresett_ertek) + Visszaadja a megadott értékhez tartozó csomópontot. + + Csomópontok - LinkedListNode + Egy listából létrehozunk egy-egy csomópontot, melyben az adott csomóponthoz tartozó érték és a következő csomópontra mutató hivatkozás van. + A következő csomópontra való ugráshoz a .Next metódust kell használnunk, hogy visszafele közlekedjünk pedig a .Previous metódust kell használnunk. + A .Value metódus az adott csomópontban eltárolt adatot adja vissza. + Mivel tudjuk, hogy a láncolt listák utolsó, illetve első eleme null értékű, így egy while ciklussal is végig tudunk menni az adott láncolt listán, + a léptetéséről a Next gondoskodik.