diff --git a/App.xaml b/App.xaml
new file mode 100644
index 0000000..2163e5e
--- /dev/null
+++ b/App.xaml
@@ -0,0 +1,9 @@
+
+
+
+
+
diff --git a/App.xaml.cs b/App.xaml.cs
new file mode 100644
index 0000000..ac757d5
--- /dev/null
+++ b/App.xaml.cs
@@ -0,0 +1,14 @@
+using System.Configuration;
+using System.Data;
+using System.Windows;
+
+namespace WährungsrechnerOOC
+{
+ ///
+ /// Interaction logic for App.xaml
+ ///
+ public partial class App : Application
+ {
+ }
+
+}
diff --git a/AssemblyInfo.cs b/AssemblyInfo.cs
new file mode 100644
index 0000000..b0ec827
--- /dev/null
+++ b/AssemblyInfo.cs
@@ -0,0 +1,10 @@
+using System.Windows;
+
+[assembly: ThemeInfo(
+ ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
+ //(used if a resource is not found in the page,
+ // or application resource dictionaries)
+ ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
+ //(used if a resource is not found in the page,
+ // app, or any theme specific resource dictionaries)
+)]
diff --git a/MainWindow.xaml b/MainWindow.xaml
new file mode 100644
index 0000000..55b9918
--- /dev/null
+++ b/MainWindow.xaml
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs
new file mode 100644
index 0000000..a4861a5
--- /dev/null
+++ b/MainWindow.xaml.cs
@@ -0,0 +1,127 @@
+using System;
+
+using System.Windows;
+
+using System.Windows.Controls;
+
+namespace EuroToDollarConverter
+
+{
+
+ public partial class MainWindow : Window
+
+ {
+
+ public MainWindow()
+
+ {
+
+ InitializeComponent();
+
+ }
+
+ private void Convert_Click(object sender, RoutedEventArgs e)
+
+ {
+
+ string eingabe = euroBox.Text;
+
+ bool Nummer = true;
+
+ foreach (char c in eingabe)
+
+ {
+
+
+
+ if ((c < '0' || c > '9') && c != ',')
+
+ {
+
+ Nummer = false;
+
+ break;
+
+ }
+
+ }
+
+ if (!Nummer)
+
+ {
+
+ MessageBox.Show("Nur Ziffern und maximal ein Komma erlaubt!");
+
+ return;
+
+ }
+
+ double euro = Convert.ToDouble(eingabe);
+
+ double rate = 1;
+
+ ComboBoxItem Item = currencyBox.SelectedItem as ComboBoxItem;
+
+ if (Item == null)
+
+ {
+
+ MessageBox.Show("Bitte wählen Sie eine Währung aus.");
+
+ return;
+
+ }
+
+ string Währung = Item.Content.ToString();
+
+ switch (Währung)
+
+ {
+
+ case "Dollar $":
+
+ rate = 1.10;
+
+ break;
+
+ case "Pfund £":
+
+ rate = 0.85;
+
+ break;
+
+ case "Yen ¥":
+
+ rate = 160.50;
+
+ break;
+
+ case "Lira ₺":
+
+ rate = 35;
+
+ break;
+
+ case "Dirham د. إ ":
+
+ rate = 10;
+
+ break;
+
+ default:
+
+ MessageBox.Show("Unbekannte Währung ausgewählt.");
+
+ return;
+
+ }
+
+ double result = euro * rate;
+
+ dollarBox.Text = result.ToString("F2");
+
+ }
+
+ }
+
+}
\ No newline at end of file
diff --git a/WährungsrechnerOOC.csproj b/WährungsrechnerOOC.csproj
new file mode 100644
index 0000000..e3e33e3
--- /dev/null
+++ b/WährungsrechnerOOC.csproj
@@ -0,0 +1,11 @@
+
+
+
+ WinExe
+ net8.0-windows
+ enable
+ enable
+ true
+
+
+
diff --git a/WährungsrechnerOOC.sln b/WährungsrechnerOOC.sln
new file mode 100644
index 0000000..ad40bdc
--- /dev/null
+++ b/WährungsrechnerOOC.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.13.35931.197 d17.13
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WährungsrechnerOOC", "WährungsrechnerOOC.csproj", "{07E8B74D-7967-4584-B2D9-E614252EE777}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {07E8B74D-7967-4584-B2D9-E614252EE777}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {07E8B74D-7967-4584-B2D9-E614252EE777}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {07E8B74D-7967-4584-B2D9-E614252EE777}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {07E8B74D-7967-4584-B2D9-E614252EE777}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {1075A1FD-F275-4BDB-804E-B8AD906C91F7}
+ EndGlobalSection
+EndGlobal