This commit is contained in:
2022-06-07 13:52:04 +02:00
parent 90a869e261
commit 1bdf50c864
219 changed files with 2302 additions and 46 deletions

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
</configuration>

View File

@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{18C64591-EF85-4FA7-A22A-1EF2DDE3BFFF}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>Pontoktavolsaga</RootNamespace>
<AssemblyName>Pontoktavolsaga</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pontoktavolsaga {
public struct Point {
public double x;
public double y;
}
internal class Program {
static void Main(string[] args) {
Point a = new Point();
Point b = new Point();
Console.WriteLine("Adja meg a pontok koordinatait egymas utan");
a.x = Convert.ToDouble(Console.ReadLine());
a.y = Convert.ToDouble(Console.ReadLine());
b.x = Convert.ToDouble(Console.ReadLine());
b.y = Convert.ToDouble(Console.ReadLine());
double tavolsag = Math.Sqrt(Math.Pow(a.x - b.x, 2) + Math.Pow(a.y - b.y, 2));
Console.WriteLine("A ket pont tavolsaga: " + tavolsag);
}
}
}

View File

@@ -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("Pontoktavolsaga")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Pontoktavolsaga")]
[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("18c64591-ef85-4fa7-a22a-1ef2dde3bfff")]
// 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")]

Binary file not shown.

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
</configuration>

Binary file not shown.

View File

@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]

View File

@@ -0,0 +1 @@
2f1b5aa9ca9324e732c8dc8ad98b9a6b4836d80a

View File

@@ -0,0 +1,8 @@
C:\dev\c#\c-sharp\Pontoktavolsaga\bin\Debug\Pontoktavolsaga.exe.config
C:\dev\c#\c-sharp\Pontoktavolsaga\bin\Debug\Pontoktavolsaga.exe
C:\dev\c#\c-sharp\Pontoktavolsaga\bin\Debug\Pontoktavolsaga.pdb
C:\dev\c#\c-sharp\Pontoktavolsaga\obj\Debug\Pontoktavolsaga.csproj.AssemblyReference.cache
C:\dev\c#\c-sharp\Pontoktavolsaga\obj\Debug\Pontoktavolsaga.csproj.SuggestedBindingRedirects.cache
C:\dev\c#\c-sharp\Pontoktavolsaga\obj\Debug\Pontoktavolsaga.csproj.CoreCompileInputs.cache
C:\dev\c#\c-sharp\Pontoktavolsaga\obj\Debug\Pontoktavolsaga.exe
C:\dev\c#\c-sharp\Pontoktavolsaga\obj\Debug\Pontoktavolsaga.pdb

Binary file not shown.

Binary file not shown.