diff --git a/Fibonacci/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Fibonacci/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index 67c1b10..585193f 100644 Binary files a/Fibonacci/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/Fibonacci/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Fibonacci/obj/Debug/Fibonacci.csproj.AssemblyReference.cache b/Fibonacci/obj/Debug/Fibonacci.csproj.AssemblyReference.cache index 58cdbeb..126ed02 100644 Binary files a/Fibonacci/obj/Debug/Fibonacci.csproj.AssemblyReference.cache and b/Fibonacci/obj/Debug/Fibonacci.csproj.AssemblyReference.cache differ diff --git a/Nullable/App.config b/Nullable/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/Nullable/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Nullable/Nullable.csproj b/Nullable/Nullable.csproj new file mode 100644 index 0000000..aab7656 --- /dev/null +++ b/Nullable/Nullable.csproj @@ -0,0 +1,53 @@ + + + + + Debug + AnyCPU + {0A107BAE-0E3C-452E-8524-ABB336CFCC1B} + Exe + Nullable + Nullable + 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/Nullable/Program.cs b/Nullable/Program.cs new file mode 100644 index 0000000..0432c5a --- /dev/null +++ b/Nullable/Program.cs @@ -0,0 +1,63 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Nullable { + internal class Program { + public static void n_kiir(int?[,] tömb) { + for (int i = 0; i < tömb.GetLength(0); i++) { + for (int j = 0; j < tömb.GetLength(1); j++) { + if(tömb[i,j] == null) { + Console.Write("null"); + + } + } + Console.WriteLine(); + } + } + + static void Main(string[] args) { + Console.WriteLine("Adja meg hány soros legyen a mátrixa"); + int sor = Convert.ToInt32(Console.ReadLine()); + Console.WriteLine("Adja meg hány oszlopos legyen a mátrixa"); + int oszlop = Convert.ToInt32(Console.ReadLine()); + + int?[,] mátrix = new int?[sor, oszlop]; + n_kiir(mátrix); + + string folytatas = "igen"; + while (folytatas == "igen") { + Console.WriteLine("Írja be vesszővel elválasztva, hogy a maga által megadott sor, oszlop, milyen értéket adjon. Formátum: sorszám,oszlopszám,érték"); + string bekeres = Console.ReadLine(); + string[] beker = bekeres.Split(','); + sor = Convert.ToInt32(beker[0]); + oszlop = Convert.ToInt32(beker[1]); + int ertek = Convert.ToInt32(Math.Round(Convert.ToDouble(beker[2]))); + + if (mátrix[sor, oszlop] == null) { + mátrix[sor, oszlop] = ertek; + } else { + Console.WriteLine("Ez a hely már foglalt."); + + } + + Console.WriteLine("Akarod emég folytatni?"); + folytatas = Console.ReadLine(); + + } + + + for (int i = 0; i < mátrix.GetLength(0); i++) { + for (int j = 0; j < mátrix.GetLength(1); j++) { + Console.WriteLine(mátrix[i,j] + " "); + } + Console.WriteLine(); + } + + + Console.ReadKey(); + } + } +} \ No newline at end of file diff --git a/Nullable/Properties/AssemblyInfo.cs b/Nullable/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..0c0d2a0 --- /dev/null +++ b/Nullable/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +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("Nullable")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Nullable")] +[assembly: AssemblyCopyright("Copyright © 2022")] +[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("0a107bae-0e3c-452e-8524-abb336cfcc1b")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Nullable/bin/Debug/Nullable.exe b/Nullable/bin/Debug/Nullable.exe new file mode 100644 index 0000000..f63c304 Binary files /dev/null and b/Nullable/bin/Debug/Nullable.exe differ diff --git a/Nullable/bin/Debug/Nullable.exe.config b/Nullable/bin/Debug/Nullable.exe.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/Nullable/bin/Debug/Nullable.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Nullable/bin/Debug/Nullable.pdb b/Nullable/bin/Debug/Nullable.pdb new file mode 100644 index 0000000..99322d1 Binary files /dev/null and b/Nullable/bin/Debug/Nullable.pdb differ diff --git a/Nullable/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/Nullable/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs new file mode 100644 index 0000000..3871b18 --- /dev/null +++ b/Nullable/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/Nullable/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Nullable/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..beaba86 Binary files /dev/null and b/Nullable/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Nullable/obj/Debug/Nullable.csproj.AssemblyReference.cache b/Nullable/obj/Debug/Nullable.csproj.AssemblyReference.cache new file mode 100644 index 0000000..126ed02 Binary files /dev/null and b/Nullable/obj/Debug/Nullable.csproj.AssemblyReference.cache differ diff --git a/Nullable/obj/Debug/Nullable.csproj.CoreCompileInputs.cache b/Nullable/obj/Debug/Nullable.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..ee191d7 --- /dev/null +++ b/Nullable/obj/Debug/Nullable.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +7f4b213b428f4c013f19137338418ee1f5525793 diff --git a/Nullable/obj/Debug/Nullable.csproj.FileListAbsolute.txt b/Nullable/obj/Debug/Nullable.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..fb487c9 --- /dev/null +++ b/Nullable/obj/Debug/Nullable.csproj.FileListAbsolute.txt @@ -0,0 +1,8 @@ +C:\dev\c#\c-sharp\Nullable\bin\Debug\Nullable.exe.config +C:\dev\c#\c-sharp\Nullable\bin\Debug\Nullable.exe +C:\dev\c#\c-sharp\Nullable\bin\Debug\Nullable.pdb +C:\dev\c#\c-sharp\Nullable\obj\Debug\Nullable.csproj.AssemblyReference.cache +C:\dev\c#\c-sharp\Nullable\obj\Debug\Nullable.csproj.SuggestedBindingRedirects.cache +C:\dev\c#\c-sharp\Nullable\obj\Debug\Nullable.csproj.CoreCompileInputs.cache +C:\dev\c#\c-sharp\Nullable\obj\Debug\Nullable.exe +C:\dev\c#\c-sharp\Nullable\obj\Debug\Nullable.pdb diff --git a/Nullable/obj/Debug/Nullable.csproj.SuggestedBindingRedirects.cache b/Nullable/obj/Debug/Nullable.csproj.SuggestedBindingRedirects.cache new file mode 100644 index 0000000..e69de29 diff --git a/Nullable/obj/Debug/Nullable.exe b/Nullable/obj/Debug/Nullable.exe new file mode 100644 index 0000000..f63c304 Binary files /dev/null and b/Nullable/obj/Debug/Nullable.exe differ diff --git a/Nullable/obj/Debug/Nullable.pdb b/Nullable/obj/Debug/Nullable.pdb new file mode 100644 index 0000000..99322d1 Binary files /dev/null and b/Nullable/obj/Debug/Nullable.pdb differ diff --git a/c-sharp.sln b/c-sharp.sln index 8e9e86c..57d0222 100644 --- a/c-sharp.sln +++ b/c-sharp.sln @@ -47,9 +47,13 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ForAndForEach", "ForAndForE EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Fibonacci", "Fibonacci\Fibonacci.csproj", "{FAE7220C-8E06-4D42-B54C-573A60584C51}" EndProject +<<<<<<< HEAD +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nullable", "Nullable\Nullable.csproj", "{0A107BAE-0E3C-452E-8524-ABB336CFCC1B}" +======= Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ListaMeddigBirja", "ListaMeddigBirja\ListaMeddigBirja.csproj", "{73FAE19E-8461-4940-B9CD-1F86B0F8BEC0}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MatrixBill", "MatrixBill\MatrixBill.csproj", "{F2CDBA8F-B782-4B1C-A5E6-0EBE9F1AE3C2}" +>>>>>>> cbdc00b78c8377e68a29aab9c4aa4ff6d7ffe5e0 EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "csv", "csv\csv.csproj", "{D8C331C6-6363-4C0B-91AA-71CC8A27EE6B}" EndProject @@ -235,6 +239,12 @@ Global {FAE7220C-8E06-4D42-B54C-573A60584C51}.Debug|x64.Build.0 = Debug|x64 {FAE7220C-8E06-4D42-B54C-573A60584C51}.Release|Any CPU.ActiveCfg = Release|Any CPU {FAE7220C-8E06-4D42-B54C-573A60584C51}.Release|Any CPU.Build.0 = Release|Any CPU +<<<<<<< HEAD + {0A107BAE-0E3C-452E-8524-ABB336CFCC1B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0A107BAE-0E3C-452E-8524-ABB336CFCC1B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0A107BAE-0E3C-452E-8524-ABB336CFCC1B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0A107BAE-0E3C-452E-8524-ABB336CFCC1B}.Release|Any CPU.Build.0 = Release|Any CPU +======= {FAE7220C-8E06-4D42-B54C-573A60584C51}.Release|x64.ActiveCfg = Release|x64 {FAE7220C-8E06-4D42-B54C-573A60584C51}.Release|x64.Build.0 = Release|x64 {73FAE19E-8461-4940-B9CD-1F86B0F8BEC0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU @@ -253,6 +263,7 @@ Global {F2CDBA8F-B782-4B1C-A5E6-0EBE9F1AE3C2}.Release|Any CPU.Build.0 = Release|Any CPU {F2CDBA8F-B782-4B1C-A5E6-0EBE9F1AE3C2}.Release|x64.ActiveCfg = Release|Any CPU {F2CDBA8F-B782-4B1C-A5E6-0EBE9F1AE3C2}.Release|x64.Build.0 = Release|Any CPU +<<<<<<< HEAD {D8C331C6-6363-4C0B-91AA-71CC8A27EE6B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {D8C331C6-6363-4C0B-91AA-71CC8A27EE6B}.Debug|Any CPU.Build.0 = Debug|Any CPU {D8C331C6-6363-4C0B-91AA-71CC8A27EE6B}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -261,6 +272,9 @@ Global {D8C331C6-6363-4C0B-91AA-71CC8A27EE6B}.Release|Any CPU.Build.0 = Release|Any CPU {D8C331C6-6363-4C0B-91AA-71CC8A27EE6B}.Release|x64.ActiveCfg = Release|Any CPU {D8C331C6-6363-4C0B-91AA-71CC8A27EE6B}.Release|x64.Build.0 = Release|Any CPU +======= +>>>>>>> cbdc00b78c8377e68a29aab9c4aa4ff6d7ffe5e0 +>>>>>>> 101aa2fb434556debb8939ef883c8221e1e332b8 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE