diff --git a/visual/12-05-2016/fdprPaintConsoleColors/fdprPaintConsoleColors.v12.suo b/visual/12-05-2016/fdprPaintConsoleColors/fdprPaintConsoleColors.v12.suo
index df589b1..6d0a05c 100644
Binary files a/visual/12-05-2016/fdprPaintConsoleColors/fdprPaintConsoleColors.v12.suo and b/visual/12-05-2016/fdprPaintConsoleColors/fdprPaintConsoleColors.v12.suo differ
diff --git a/visual/12-05-2016/fdprPaintConsoleColors/fdprPaintConsoleColors/Program.cs b/visual/12-05-2016/fdprPaintConsoleColors/fdprPaintConsoleColors/Program.cs
index d54b818..0fd9a23 100644
--- a/visual/12-05-2016/fdprPaintConsoleColors/fdprPaintConsoleColors/Program.cs
+++ b/visual/12-05-2016/fdprPaintConsoleColors/fdprPaintConsoleColors/Program.cs
@@ -21,10 +21,11 @@ static void Main(string[] args)
ConsoleColor[,] mappa = new ConsoleColor[Console.WindowWidth, Console.WindowHeight - 1];
Console.TreatControlCAsInput = true;
- char matita = '\0';
+ ConsoleKey colore = ConsoleColor.Black;
ConsoleKeyInfo input = new ConsoleKeyInfo('W', ConsoleKey.W, false, false, false);
printmenu(new string[] { "^X: Exit", "^C Change color", "^L Load", "^O Save", "x: " + Console.CursorLeft + ", y: " + Console.CursorTop }, true);
+ Char matita = ' ';
while (!(input.Key == ConsoleKey.X && input.Modifiers == ConsoleModifiers.Control))
{
@@ -120,7 +121,7 @@ static void align()
Console.SetCursorPosition(left, top);
}
- static bool printtofile(ref char[,] mappa, string dest)
+ static bool printtofile(ref ConsoleColor[,] mappa, string dest)
{
// x is width (oriz), y is height (vert), index 0 is x, index 1 is y
@@ -169,7 +170,7 @@ static bool printtofile(ref char[,] mappa, string dest)
}
- static bool readfromfile(ref char[,] mappa, string dest)
+ static bool readfromfile(ref ConsoleColor[,] mappa, string dest)
{
// x is width (oriz), y is height (vert), index 0 is x, index 1 is y
@@ -359,7 +360,7 @@ static void checkmaxmin(ref int c, int max)
c--;
}
}
- static void printTo(ref int x, ref int y, char print, ref char[,] mappa)
+ static void printTo(ref int x, ref int y, char print, ref ConsoleColor[,] mappa)
{
checkmaxmin(ref x, Console.WindowWidth - 1);
diff --git a/visual_new/MassimoFraN/MassimoFraN.sln b/visual_new/MassimoFraN/MassimoFraN.sln
new file mode 100644
index 0000000..0a55f7e
--- /dev/null
+++ b/visual_new/MassimoFraN/MassimoFraN.sln
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.21005.1
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MassimoFraN", "MassimoFraN\MassimoFraN.csproj", "{76FAC2CB-1943-4E1E-BBAE-1F8A76018235}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {76FAC2CB-1943-4E1E-BBAE-1F8A76018235}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {76FAC2CB-1943-4E1E-BBAE-1F8A76018235}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {76FAC2CB-1943-4E1E-BBAE-1F8A76018235}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {76FAC2CB-1943-4E1E-BBAE-1F8A76018235}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/visual_new/MassimoFraN/MassimoFraN.v12.suo b/visual_new/MassimoFraN/MassimoFraN.v12.suo
new file mode 100644
index 0000000..5daf1c3
Binary files /dev/null and b/visual_new/MassimoFraN/MassimoFraN.v12.suo differ
diff --git a/visual_new/MassimoFraN/MassimoFraN/App.config b/visual_new/MassimoFraN/MassimoFraN/App.config
new file mode 100644
index 0000000..8e15646
--- /dev/null
+++ b/visual_new/MassimoFraN/MassimoFraN/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/visual_new/MassimoFraN/MassimoFraN/MassimoFraN.csproj b/visual_new/MassimoFraN/MassimoFraN/MassimoFraN.csproj
new file mode 100644
index 0000000..1afa4b6
--- /dev/null
+++ b/visual_new/MassimoFraN/MassimoFraN/MassimoFraN.csproj
@@ -0,0 +1,58 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {76FAC2CB-1943-4E1E-BBAE-1F8A76018235}
+ Exe
+ Properties
+ MassimoFraN
+ MassimoFraN
+ v4.5
+ 512
+
+
+ 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/visual_new/MassimoFraN/MassimoFraN/Program.cs b/visual_new/MassimoFraN/MassimoFraN/Program.cs
new file mode 100644
index 0000000..ae565a7
--- /dev/null
+++ b/visual_new/MassimoFraN/MassimoFraN/Program.cs
@@ -0,0 +1,40 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace MassimoFraN
+{ class Program
+ {
+ static void Main(string[] args)
+ {
+ double max = 0;
+ double n = 0;
+ int count = 0;
+ do
+ {
+ Console.Write("Inserire un numero (scrivere una lettera per uscire): ");
+ try
+ {
+ n = Convert.ToDouble(Console.ReadLine());
+ if (n > max) {
+ max = n;
+ }
+ }
+ catch (FormatException e)
+ {
+ if (count < 2)
+ {
+ Console.WriteLine("Dovete inserire almeno 2 numeri.");
+ continue;
+ }
+ break;
+ }
+ count++;
+ } while (true);
+ Console.WriteLine("Il massimo numero tra quelli che avete inserito è {0}", max);
+ Console.Read();
+ }
+ }
+}
\ No newline at end of file
diff --git a/visual_new/MassimoFraN/MassimoFraN/Properties/AssemblyInfo.cs b/visual_new/MassimoFraN/MassimoFraN/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..47a7b9b
--- /dev/null
+++ b/visual_new/MassimoFraN/MassimoFraN/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("MassimoFraN")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("MassimoFraN")]
+[assembly: AssemblyCopyright("Copyright © 2016")]
+[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("5de58aee-7570-4402-8aa5-407121e43381")]
+
+// 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/visual_new/MassimoFraN/MassimoFraN/bin/Debug/MassimoFraN.exe b/visual_new/MassimoFraN/MassimoFraN/bin/Debug/MassimoFraN.exe
new file mode 100644
index 0000000..328297c
Binary files /dev/null and b/visual_new/MassimoFraN/MassimoFraN/bin/Debug/MassimoFraN.exe differ
diff --git a/visual_new/MassimoFraN/MassimoFraN/bin/Debug/MassimoFraN.exe.config b/visual_new/MassimoFraN/MassimoFraN/bin/Debug/MassimoFraN.exe.config
new file mode 100644
index 0000000..8e15646
--- /dev/null
+++ b/visual_new/MassimoFraN/MassimoFraN/bin/Debug/MassimoFraN.exe.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/visual_new/MassimoFraN/MassimoFraN/bin/Debug/MassimoFraN.pdb b/visual_new/MassimoFraN/MassimoFraN/bin/Debug/MassimoFraN.pdb
new file mode 100644
index 0000000..c806521
Binary files /dev/null and b/visual_new/MassimoFraN/MassimoFraN/bin/Debug/MassimoFraN.pdb differ
diff --git a/visual_new/MassimoFraN/MassimoFraN/bin/Debug/MassimoFraN.vshost.exe b/visual_new/MassimoFraN/MassimoFraN/bin/Debug/MassimoFraN.vshost.exe
new file mode 100644
index 0000000..c0dfecc
Binary files /dev/null and b/visual_new/MassimoFraN/MassimoFraN/bin/Debug/MassimoFraN.vshost.exe differ
diff --git a/visual_new/MassimoFraN/MassimoFraN/bin/Debug/MassimoFraN.vshost.exe.config b/visual_new/MassimoFraN/MassimoFraN/bin/Debug/MassimoFraN.vshost.exe.config
new file mode 100644
index 0000000..8e15646
--- /dev/null
+++ b/visual_new/MassimoFraN/MassimoFraN/bin/Debug/MassimoFraN.vshost.exe.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/visual_new/MassimoFraN/MassimoFraN/bin/Debug/MassimoFraN.vshost.exe.manifest b/visual_new/MassimoFraN/MassimoFraN/bin/Debug/MassimoFraN.vshost.exe.manifest
new file mode 100644
index 0000000..061c9ca
--- /dev/null
+++ b/visual_new/MassimoFraN/MassimoFraN/bin/Debug/MassimoFraN.vshost.exe.manifest
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/visual_new/MassimoFraN/MassimoFraN/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/visual_new/MassimoFraN/MassimoFraN/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
new file mode 100644
index 0000000..4a84533
Binary files /dev/null and b/visual_new/MassimoFraN/MassimoFraN/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/visual_new/MassimoFraN/MassimoFraN/obj/Debug/MassimoFraN.csproj.FileListAbsolute.txt b/visual_new/MassimoFraN/MassimoFraN/obj/Debug/MassimoFraN.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..2d857f6
--- /dev/null
+++ b/visual_new/MassimoFraN/MassimoFraN/obj/Debug/MassimoFraN.csproj.FileListAbsolute.txt
@@ -0,0 +1,5 @@
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\MassimoFraN\MassimoFraN\bin\Debug\MassimoFraN.exe.config
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\MassimoFraN\MassimoFraN\bin\Debug\MassimoFraN.exe
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\MassimoFraN\MassimoFraN\bin\Debug\MassimoFraN.pdb
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\MassimoFraN\MassimoFraN\obj\Debug\MassimoFraN.exe
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\MassimoFraN\MassimoFraN\obj\Debug\MassimoFraN.pdb
diff --git a/visual_new/MassimoFraN/MassimoFraN/obj/Debug/MassimoFraN.exe b/visual_new/MassimoFraN/MassimoFraN/obj/Debug/MassimoFraN.exe
new file mode 100644
index 0000000..328297c
Binary files /dev/null and b/visual_new/MassimoFraN/MassimoFraN/obj/Debug/MassimoFraN.exe differ
diff --git a/visual_new/MassimoFraN/MassimoFraN/obj/Debug/MassimoFraN.pdb b/visual_new/MassimoFraN/MassimoFraN/obj/Debug/MassimoFraN.pdb
new file mode 100644
index 0000000..c806521
Binary files /dev/null and b/visual_new/MassimoFraN/MassimoFraN/obj/Debug/MassimoFraN.pdb differ
diff --git a/visual_new/MassimoFraN/MassimoFraN/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/visual_new/MassimoFraN/MassimoFraN/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
new file mode 100644
index 0000000..e69de29
diff --git a/visual_new/MassimoFraN/MassimoFraN/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/visual_new/MassimoFraN/MassimoFraN/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
new file mode 100644
index 0000000..e69de29
diff --git a/visual_new/MassimoFraN/MassimoFraN/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/visual_new/MassimoFraN/MassimoFraN/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
new file mode 100644
index 0000000..e69de29
diff --git a/visual_new/PoligoniRegolari.rar b/visual_new/PoligoniRegolari.rar
new file mode 100644
index 0000000..a215580
Binary files /dev/null and b/visual_new/PoligoniRegolari.rar differ
diff --git a/visual_new/PoligoniRegolari/PoligoniRegolari.sln b/visual_new/PoligoniRegolari/PoligoniRegolari.sln
new file mode 100644
index 0000000..5c4fa58
--- /dev/null
+++ b/visual_new/PoligoniRegolari/PoligoniRegolari.sln
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.21005.1
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PoligoniRegolari", "PoligoniRegolari\PoligoniRegolari.csproj", "{2034B6DE-7160-45B6-BFFE-04A16CF8E69A}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {2034B6DE-7160-45B6-BFFE-04A16CF8E69A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2034B6DE-7160-45B6-BFFE-04A16CF8E69A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2034B6DE-7160-45B6-BFFE-04A16CF8E69A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2034B6DE-7160-45B6-BFFE-04A16CF8E69A}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/visual_new/PoligoniRegolari/PoligoniRegolari.v12.suo b/visual_new/PoligoniRegolari/PoligoniRegolari.v12.suo
new file mode 100644
index 0000000..085a4b3
Binary files /dev/null and b/visual_new/PoligoniRegolari/PoligoniRegolari.v12.suo differ
diff --git a/visual_new/PoligoniRegolari/PoligoniRegolari/App.config b/visual_new/PoligoniRegolari/PoligoniRegolari/App.config
new file mode 100644
index 0000000..8e15646
--- /dev/null
+++ b/visual_new/PoligoniRegolari/PoligoniRegolari/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/visual_new/PoligoniRegolari/PoligoniRegolari/PoligoniRegolari.csproj b/visual_new/PoligoniRegolari/PoligoniRegolari/PoligoniRegolari.csproj
new file mode 100644
index 0000000..ce64859
--- /dev/null
+++ b/visual_new/PoligoniRegolari/PoligoniRegolari/PoligoniRegolari.csproj
@@ -0,0 +1,58 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {2034B6DE-7160-45B6-BFFE-04A16CF8E69A}
+ Exe
+ Properties
+ PoligoniRegolari
+ PoligoniRegolari
+ v4.5
+ 512
+
+
+ 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/visual_new/PoligoniRegolari/PoligoniRegolari/Program.cs b/visual_new/PoligoniRegolari/PoligoniRegolari/Program.cs
new file mode 100644
index 0000000..28e54df
--- /dev/null
+++ b/visual_new/PoligoniRegolari/PoligoniRegolari/Program.cs
@@ -0,0 +1,71 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace PoligoniRegolari
+{
+ class Program
+ {
+ static void Main(string[] args)
+ {
+ int lati = 0;
+ double area, apotema, perimetro, lato = -1, numeroFisso = 0;
+ string tipoPoligono = "";
+ Console.WriteLine("Poligoni regolari.\n");
+ Console.Write("Inserire il numero di lati del poligono: ");
+ try
+ {
+ lati = Convert.ToInt32(Console.ReadLine());
+ }
+ catch (FormatException e)
+ {
+ }
+ switch (lati)
+ {
+ case 3:
+ numeroFisso = 0.289;
+ tipoPoligono = "triangolo";
+ break;
+ case 4:
+ numeroFisso = 0.5;
+ tipoPoligono = "quadrato";
+ break;
+ case 5:
+ numeroFisso = 0.688;
+ tipoPoligono = "pentagono";
+ break;
+ default:
+ Exit("Il numero di lati inserito non è valido.");
+ break;
+ }
+ Console.WriteLine();
+ Console.Write("Inserire la lunghezza del lato: ");
+ try
+ {
+ lato = Convert.ToDouble(Console.ReadLine());
+ }
+ catch (FormatException e)
+ {
+ }
+ if (lato < 0)
+ {
+ Exit("La lunghezza inserita non è valida.");
+ }
+ Console.WriteLine();
+
+ apotema = lato * numeroFisso;
+ perimetro = lato * lati;
+ area = perimetro * apotema / 2;
+ Console.WriteLine("Tipo poligono: {0}\nNumero lati: {1}\nLunghezza lato: {2}\nNumero fisso: {3}\nValore apotema: {4}\nValore perimetro: {5}\nValore area: {6}", tipoPoligono, lati, lato, numeroFisso, apotema, perimetro, area);
+ Console.Read();
+ }
+ public static void Exit(string error)
+ {
+ Console.WriteLine(error + "\a");
+ Console.Read();
+ System.Environment.Exit(1);
+ }
+ }
+}
diff --git a/visual_new/PoligoniRegolari/PoligoniRegolari/Properties/AssemblyInfo.cs b/visual_new/PoligoniRegolari/PoligoniRegolari/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..7750a0e
--- /dev/null
+++ b/visual_new/PoligoniRegolari/PoligoniRegolari/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("PoligoniRegolari")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("PoligoniRegolari")]
+[assembly: AssemblyCopyright("Copyright © 2016")]
+[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("2df6ec82-a36b-4923-ab5d-8e918492855c")]
+
+// 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/visual_new/PoligoniRegolari/PoligoniRegolari/bin/Debug/PoligoniRegolari.exe b/visual_new/PoligoniRegolari/PoligoniRegolari/bin/Debug/PoligoniRegolari.exe
new file mode 100644
index 0000000..3e7dc1d
Binary files /dev/null and b/visual_new/PoligoniRegolari/PoligoniRegolari/bin/Debug/PoligoniRegolari.exe differ
diff --git a/visual_new/PoligoniRegolari/PoligoniRegolari/bin/Debug/PoligoniRegolari.exe.config b/visual_new/PoligoniRegolari/PoligoniRegolari/bin/Debug/PoligoniRegolari.exe.config
new file mode 100644
index 0000000..8e15646
--- /dev/null
+++ b/visual_new/PoligoniRegolari/PoligoniRegolari/bin/Debug/PoligoniRegolari.exe.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/visual_new/PoligoniRegolari/PoligoniRegolari/bin/Debug/PoligoniRegolari.pdb b/visual_new/PoligoniRegolari/PoligoniRegolari/bin/Debug/PoligoniRegolari.pdb
new file mode 100644
index 0000000..2c355d9
Binary files /dev/null and b/visual_new/PoligoniRegolari/PoligoniRegolari/bin/Debug/PoligoniRegolari.pdb differ
diff --git a/visual_new/PoligoniRegolari/PoligoniRegolari/bin/Debug/PoligoniRegolari.vshost.exe b/visual_new/PoligoniRegolari/PoligoniRegolari/bin/Debug/PoligoniRegolari.vshost.exe
new file mode 100644
index 0000000..c0dfecc
Binary files /dev/null and b/visual_new/PoligoniRegolari/PoligoniRegolari/bin/Debug/PoligoniRegolari.vshost.exe differ
diff --git a/visual_new/PoligoniRegolari/PoligoniRegolari/bin/Debug/PoligoniRegolari.vshost.exe.config b/visual_new/PoligoniRegolari/PoligoniRegolari/bin/Debug/PoligoniRegolari.vshost.exe.config
new file mode 100644
index 0000000..8e15646
--- /dev/null
+++ b/visual_new/PoligoniRegolari/PoligoniRegolari/bin/Debug/PoligoniRegolari.vshost.exe.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/visual_new/PoligoniRegolari/PoligoniRegolari/bin/Debug/PoligoniRegolari.vshost.exe.manifest b/visual_new/PoligoniRegolari/PoligoniRegolari/bin/Debug/PoligoniRegolari.vshost.exe.manifest
new file mode 100644
index 0000000..061c9ca
--- /dev/null
+++ b/visual_new/PoligoniRegolari/PoligoniRegolari/bin/Debug/PoligoniRegolari.vshost.exe.manifest
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/visual_new/PoligoniRegolari/PoligoniRegolari/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/visual_new/PoligoniRegolari/PoligoniRegolari/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
new file mode 100644
index 0000000..6575b7b
Binary files /dev/null and b/visual_new/PoligoniRegolari/PoligoniRegolari/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/visual_new/PoligoniRegolari/PoligoniRegolari/obj/Debug/PoligoniRegolari.csproj.FileListAbsolute.txt b/visual_new/PoligoniRegolari/PoligoniRegolari/obj/Debug/PoligoniRegolari.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..62d9730
--- /dev/null
+++ b/visual_new/PoligoniRegolari/PoligoniRegolari/obj/Debug/PoligoniRegolari.csproj.FileListAbsolute.txt
@@ -0,0 +1,6 @@
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\PoligoniRegolari\PoligoniRegolari\bin\Debug\PoligoniRegolari.exe.config
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\PoligoniRegolari\PoligoniRegolari\obj\Debug\PoligoniRegolari.csprojResolveAssemblyReference.cache
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\PoligoniRegolari\PoligoniRegolari\bin\Debug\PoligoniRegolari.exe
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\PoligoniRegolari\PoligoniRegolari\bin\Debug\PoligoniRegolari.pdb
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\PoligoniRegolari\PoligoniRegolari\obj\Debug\PoligoniRegolari.exe
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\PoligoniRegolari\PoligoniRegolari\obj\Debug\PoligoniRegolari.pdb
diff --git a/visual_new/PoligoniRegolari/PoligoniRegolari/obj/Debug/PoligoniRegolari.csprojResolveAssemblyReference.cache b/visual_new/PoligoniRegolari/PoligoniRegolari/obj/Debug/PoligoniRegolari.csprojResolveAssemblyReference.cache
new file mode 100644
index 0000000..9542bb3
Binary files /dev/null and b/visual_new/PoligoniRegolari/PoligoniRegolari/obj/Debug/PoligoniRegolari.csprojResolveAssemblyReference.cache differ
diff --git a/visual_new/PoligoniRegolari/PoligoniRegolari/obj/Debug/PoligoniRegolari.exe b/visual_new/PoligoniRegolari/PoligoniRegolari/obj/Debug/PoligoniRegolari.exe
new file mode 100644
index 0000000..3e7dc1d
Binary files /dev/null and b/visual_new/PoligoniRegolari/PoligoniRegolari/obj/Debug/PoligoniRegolari.exe differ
diff --git a/visual_new/PoligoniRegolari/PoligoniRegolari/obj/Debug/PoligoniRegolari.pdb b/visual_new/PoligoniRegolari/PoligoniRegolari/obj/Debug/PoligoniRegolari.pdb
new file mode 100644
index 0000000..2c355d9
Binary files /dev/null and b/visual_new/PoligoniRegolari/PoligoniRegolari/obj/Debug/PoligoniRegolari.pdb differ
diff --git a/visual_new/PoligoniRegolari/PoligoniRegolari/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/visual_new/PoligoniRegolari/PoligoniRegolari/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
new file mode 100644
index 0000000..e69de29
diff --git a/visual_new/PoligoniRegolari/PoligoniRegolari/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/visual_new/PoligoniRegolari/PoligoniRegolari/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
new file mode 100644
index 0000000..e69de29
diff --git a/visual_new/PoligoniRegolari/PoligoniRegolari/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/visual_new/PoligoniRegolari/PoligoniRegolari/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
new file mode 100644
index 0000000..e69de29
diff --git a/visual_new/PoligoniRegolariv2/PoligoniRegolari.sln b/visual_new/PoligoniRegolariv2/PoligoniRegolari.sln
new file mode 100644
index 0000000..5c4fa58
--- /dev/null
+++ b/visual_new/PoligoniRegolariv2/PoligoniRegolari.sln
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.21005.1
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PoligoniRegolari", "PoligoniRegolari\PoligoniRegolari.csproj", "{2034B6DE-7160-45B6-BFFE-04A16CF8E69A}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {2034B6DE-7160-45B6-BFFE-04A16CF8E69A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2034B6DE-7160-45B6-BFFE-04A16CF8E69A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2034B6DE-7160-45B6-BFFE-04A16CF8E69A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2034B6DE-7160-45B6-BFFE-04A16CF8E69A}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/visual_new/PoligoniRegolariv2/PoligoniRegolari.v12.suo b/visual_new/PoligoniRegolariv2/PoligoniRegolari.v12.suo
new file mode 100644
index 0000000..6fd51e7
Binary files /dev/null and b/visual_new/PoligoniRegolariv2/PoligoniRegolari.v12.suo differ
diff --git a/visual_new/PoligoniRegolariv2/PoligoniRegolari/App.config b/visual_new/PoligoniRegolariv2/PoligoniRegolari/App.config
new file mode 100644
index 0000000..8e15646
--- /dev/null
+++ b/visual_new/PoligoniRegolariv2/PoligoniRegolari/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/visual_new/PoligoniRegolariv2/PoligoniRegolari/PoligoniRegolari.csproj b/visual_new/PoligoniRegolariv2/PoligoniRegolari/PoligoniRegolari.csproj
new file mode 100644
index 0000000..ce64859
--- /dev/null
+++ b/visual_new/PoligoniRegolariv2/PoligoniRegolari/PoligoniRegolari.csproj
@@ -0,0 +1,58 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {2034B6DE-7160-45B6-BFFE-04A16CF8E69A}
+ Exe
+ Properties
+ PoligoniRegolari
+ PoligoniRegolari
+ v4.5
+ 512
+
+
+ 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/visual_new/PoligoniRegolariv2/PoligoniRegolari/Program.cs b/visual_new/PoligoniRegolariv2/PoligoniRegolari/Program.cs
new file mode 100644
index 0000000..37deddc
--- /dev/null
+++ b/visual_new/PoligoniRegolariv2/PoligoniRegolari/Program.cs
@@ -0,0 +1,80 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace PoligoniRegolari
+{
+ class Program
+ {
+ static void Main(string[] args)
+ {
+ byte lati = 0;
+ double area, apotema, perimetro, lato = -1;
+ float numeroFisso = 0f;
+ string tipoPoligono = "";
+
+ Console.WriteLine("Poligoni regolari.\n");
+ do
+ {
+ Console.Write("Inserire il numero di lati del poligono: ");
+ try
+ {
+ lati = Convert.ToByte(Console.ReadLine());
+ }
+ catch (FormatException e)
+ {
+ }
+ catch (OverflowException e)
+ {
+ }
+ switch (lati)
+ {
+ case 3:
+ numeroFisso = 0.289f;
+ tipoPoligono = "triangolo";
+ break;
+ case 4:
+ numeroFisso = 0.5f;
+ tipoPoligono = "quadrato";
+ break;
+ case 5:
+ numeroFisso = 0.688f;
+ tipoPoligono = "pentagono";
+ break;
+ default:
+ Console.WriteLine("Il numero di lati inserito non è valido.\a");
+ break;
+ }
+ } while (lati < 3 || lati > 5);
+
+
+ Console.WriteLine();
+ do
+ {
+ Console.Write("Inserire la lunghezza del lato: ");
+ try
+ {
+ lato = Convert.ToDouble(Console.ReadLine());
+ }
+ catch (FormatException e)
+ {
+ }
+ if (lato < 0)
+ {
+ Console.WriteLine("La lunghezza inserita non è valida.\a");
+ }
+ } while (lato < 0);
+
+
+ Console.WriteLine();
+
+ apotema = lato * numeroFisso;
+ perimetro = lato * lati;
+ area = (perimetro * apotema) / 2;
+ Console.WriteLine("Tipo poligono: {0}\nNumero lati: {1}\nLunghezza lato: {2}\nNumero fisso: {3}\nValore apotema: {4}\nValore perimetro: {5}\nValore area: {6}", tipoPoligono, lati, lato, numeroFisso, apotema, perimetro, area);
+ Console.Read();
+ }
+ }
+}
diff --git a/visual_new/PoligoniRegolariv2/PoligoniRegolari/Properties/AssemblyInfo.cs b/visual_new/PoligoniRegolariv2/PoligoniRegolari/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..7750a0e
--- /dev/null
+++ b/visual_new/PoligoniRegolariv2/PoligoniRegolari/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("PoligoniRegolari")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("PoligoniRegolari")]
+[assembly: AssemblyCopyright("Copyright © 2016")]
+[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("2df6ec82-a36b-4923-ab5d-8e918492855c")]
+
+// 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/visual_new/PoligoniRegolariv2/PoligoniRegolari/bin/Debug/PoligoniRegolari.exe b/visual_new/PoligoniRegolariv2/PoligoniRegolari/bin/Debug/PoligoniRegolari.exe
new file mode 100644
index 0000000..4ea53bd
Binary files /dev/null and b/visual_new/PoligoniRegolariv2/PoligoniRegolari/bin/Debug/PoligoniRegolari.exe differ
diff --git a/visual_new/PoligoniRegolariv2/PoligoniRegolari/bin/Debug/PoligoniRegolari.exe.config b/visual_new/PoligoniRegolariv2/PoligoniRegolari/bin/Debug/PoligoniRegolari.exe.config
new file mode 100644
index 0000000..8e15646
--- /dev/null
+++ b/visual_new/PoligoniRegolariv2/PoligoniRegolari/bin/Debug/PoligoniRegolari.exe.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/visual_new/PoligoniRegolariv2/PoligoniRegolari/bin/Debug/PoligoniRegolari.pdb b/visual_new/PoligoniRegolariv2/PoligoniRegolari/bin/Debug/PoligoniRegolari.pdb
new file mode 100644
index 0000000..110a28b
Binary files /dev/null and b/visual_new/PoligoniRegolariv2/PoligoniRegolari/bin/Debug/PoligoniRegolari.pdb differ
diff --git a/visual_new/PoligoniRegolariv2/PoligoniRegolari/bin/Debug/PoligoniRegolari.vshost.exe b/visual_new/PoligoniRegolariv2/PoligoniRegolari/bin/Debug/PoligoniRegolari.vshost.exe
new file mode 100644
index 0000000..c0dfecc
Binary files /dev/null and b/visual_new/PoligoniRegolariv2/PoligoniRegolari/bin/Debug/PoligoniRegolari.vshost.exe differ
diff --git a/visual_new/PoligoniRegolariv2/PoligoniRegolari/bin/Debug/PoligoniRegolari.vshost.exe.config b/visual_new/PoligoniRegolariv2/PoligoniRegolari/bin/Debug/PoligoniRegolari.vshost.exe.config
new file mode 100644
index 0000000..8e15646
--- /dev/null
+++ b/visual_new/PoligoniRegolariv2/PoligoniRegolari/bin/Debug/PoligoniRegolari.vshost.exe.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/visual_new/PoligoniRegolariv2/PoligoniRegolari/bin/Debug/PoligoniRegolari.vshost.exe.manifest b/visual_new/PoligoniRegolariv2/PoligoniRegolari/bin/Debug/PoligoniRegolari.vshost.exe.manifest
new file mode 100644
index 0000000..061c9ca
--- /dev/null
+++ b/visual_new/PoligoniRegolariv2/PoligoniRegolari/bin/Debug/PoligoniRegolari.vshost.exe.manifest
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/visual_new/PoligoniRegolariv2/PoligoniRegolari/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/visual_new/PoligoniRegolariv2/PoligoniRegolari/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
new file mode 100644
index 0000000..a8da07d
Binary files /dev/null and b/visual_new/PoligoniRegolariv2/PoligoniRegolari/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/visual_new/PoligoniRegolariv2/PoligoniRegolari/obj/Debug/PoligoniRegolari.csproj.FileListAbsolute.txt b/visual_new/PoligoniRegolariv2/PoligoniRegolari/obj/Debug/PoligoniRegolari.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..a2d982a
--- /dev/null
+++ b/visual_new/PoligoniRegolariv2/PoligoniRegolari/obj/Debug/PoligoniRegolari.csproj.FileListAbsolute.txt
@@ -0,0 +1,12 @@
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\PoligoniRegolari\PoligoniRegolari\bin\Debug\PoligoniRegolari.exe.config
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\PoligoniRegolari\PoligoniRegolari\obj\Debug\PoligoniRegolari.csprojResolveAssemblyReference.cache
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\PoligoniRegolari\PoligoniRegolari\bin\Debug\PoligoniRegolari.exe
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\PoligoniRegolari\PoligoniRegolari\bin\Debug\PoligoniRegolari.pdb
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\PoligoniRegolari\PoligoniRegolari\obj\Debug\PoligoniRegolari.exe
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\PoligoniRegolari\PoligoniRegolari\obj\Debug\PoligoniRegolari.pdb
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\PoligoniRegolariv2\PoligoniRegolari\bin\Debug\PoligoniRegolari.exe.config
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\PoligoniRegolariv2\PoligoniRegolari\obj\Debug\PoligoniRegolari.exe
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\PoligoniRegolariv2\PoligoniRegolari\obj\Debug\PoligoniRegolari.pdb
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\PoligoniRegolariv2\PoligoniRegolari\bin\Debug\PoligoniRegolari.exe
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\PoligoniRegolariv2\PoligoniRegolari\bin\Debug\PoligoniRegolari.pdb
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\PoligoniRegolariv2\PoligoniRegolari\obj\Debug\PoligoniRegolari.csprojResolveAssemblyReference.cache
diff --git a/visual_new/PoligoniRegolariv2/PoligoniRegolari/obj/Debug/PoligoniRegolari.csprojResolveAssemblyReference.cache b/visual_new/PoligoniRegolariv2/PoligoniRegolari/obj/Debug/PoligoniRegolari.csprojResolveAssemblyReference.cache
new file mode 100644
index 0000000..9542bb3
Binary files /dev/null and b/visual_new/PoligoniRegolariv2/PoligoniRegolari/obj/Debug/PoligoniRegolari.csprojResolveAssemblyReference.cache differ
diff --git a/visual_new/PoligoniRegolariv2/PoligoniRegolari/obj/Debug/PoligoniRegolari.exe b/visual_new/PoligoniRegolariv2/PoligoniRegolari/obj/Debug/PoligoniRegolari.exe
new file mode 100644
index 0000000..4ea53bd
Binary files /dev/null and b/visual_new/PoligoniRegolariv2/PoligoniRegolari/obj/Debug/PoligoniRegolari.exe differ
diff --git a/visual_new/PoligoniRegolariv2/PoligoniRegolari/obj/Debug/PoligoniRegolari.pdb b/visual_new/PoligoniRegolariv2/PoligoniRegolari/obj/Debug/PoligoniRegolari.pdb
new file mode 100644
index 0000000..110a28b
Binary files /dev/null and b/visual_new/PoligoniRegolariv2/PoligoniRegolari/obj/Debug/PoligoniRegolari.pdb differ
diff --git a/visual_new/PoligoniRegolariv2/PoligoniRegolari/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/visual_new/PoligoniRegolariv2/PoligoniRegolari/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
new file mode 100644
index 0000000..e69de29
diff --git a/visual_new/PoligoniRegolariv2/PoligoniRegolari/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/visual_new/PoligoniRegolariv2/PoligoniRegolari/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
new file mode 100644
index 0000000..e69de29
diff --git a/visual_new/PoligoniRegolariv2/PoligoniRegolari/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/visual_new/PoligoniRegolariv2/PoligoniRegolari/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
new file mode 100644
index 0000000..e69de29
diff --git a/visual_new/mediaDINNumeri/mediaDINNumeri.sln b/visual_new/mediaDINNumeri/mediaDINNumeri.sln
new file mode 100644
index 0000000..38460d9
--- /dev/null
+++ b/visual_new/mediaDINNumeri/mediaDINNumeri.sln
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.21005.1
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mediaDINNumeri", "mediaDINNumeri\mediaDINNumeri.csproj", "{52BA96E6-8C9A-4494-AB65-9E44E54A626D}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {52BA96E6-8C9A-4494-AB65-9E44E54A626D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {52BA96E6-8C9A-4494-AB65-9E44E54A626D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {52BA96E6-8C9A-4494-AB65-9E44E54A626D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {52BA96E6-8C9A-4494-AB65-9E44E54A626D}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/visual_new/mediaDINNumeri/mediaDINNumeri.v12.suo b/visual_new/mediaDINNumeri/mediaDINNumeri.v12.suo
new file mode 100644
index 0000000..43573e6
Binary files /dev/null and b/visual_new/mediaDINNumeri/mediaDINNumeri.v12.suo differ
diff --git a/visual_new/mediaDINNumeri/mediaDINNumeri/App.config b/visual_new/mediaDINNumeri/mediaDINNumeri/App.config
new file mode 100644
index 0000000..8e15646
--- /dev/null
+++ b/visual_new/mediaDINNumeri/mediaDINNumeri/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/visual_new/mediaDINNumeri/mediaDINNumeri/Program.cs b/visual_new/mediaDINNumeri/mediaDINNumeri/Program.cs
new file mode 100644
index 0000000..82c838f
--- /dev/null
+++ b/visual_new/mediaDINNumeri/mediaDINNumeri/Program.cs
@@ -0,0 +1,37 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace mediaDINNumeri
+{
+ class Program
+ {
+ static void Main(string[] args)
+ {
+ double somma = 0;
+ int count = 0;
+ do
+ {
+ Console.Write("Inserire un numero (scrivere una lettera per uscire): ");
+ try
+ {
+ somma += Convert.ToDouble(Console.ReadLine());
+ }
+ catch (FormatException e)
+ {
+ if (count < 2)
+ {
+ Console.WriteLine("Dovete inserire almeno 2 numeri.");
+ continue;
+ }
+ break;
+ }
+ count++;
+ } while (true);
+ Console.WriteLine("La media dei numeri inseriti è {0}", somma/count);
+ Console.Read();
+ }
+ }
+}
diff --git a/visual_new/mediaDINNumeri/mediaDINNumeri/Properties/AssemblyInfo.cs b/visual_new/mediaDINNumeri/mediaDINNumeri/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..c7d2db4
--- /dev/null
+++ b/visual_new/mediaDINNumeri/mediaDINNumeri/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("mediaDINNumeri")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("mediaDINNumeri")]
+[assembly: AssemblyCopyright("Copyright © 2016")]
+[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("7f352dc4-9a8a-45bb-9d0d-b496d8f946cd")]
+
+// 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/visual_new/mediaDINNumeri/mediaDINNumeri/bin/Debug/mediaDINNumeri.exe b/visual_new/mediaDINNumeri/mediaDINNumeri/bin/Debug/mediaDINNumeri.exe
new file mode 100644
index 0000000..90b9400
Binary files /dev/null and b/visual_new/mediaDINNumeri/mediaDINNumeri/bin/Debug/mediaDINNumeri.exe differ
diff --git a/visual_new/mediaDINNumeri/mediaDINNumeri/bin/Debug/mediaDINNumeri.exe.config b/visual_new/mediaDINNumeri/mediaDINNumeri/bin/Debug/mediaDINNumeri.exe.config
new file mode 100644
index 0000000..8e15646
--- /dev/null
+++ b/visual_new/mediaDINNumeri/mediaDINNumeri/bin/Debug/mediaDINNumeri.exe.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/visual_new/mediaDINNumeri/mediaDINNumeri/bin/Debug/mediaDINNumeri.pdb b/visual_new/mediaDINNumeri/mediaDINNumeri/bin/Debug/mediaDINNumeri.pdb
new file mode 100644
index 0000000..f40c048
Binary files /dev/null and b/visual_new/mediaDINNumeri/mediaDINNumeri/bin/Debug/mediaDINNumeri.pdb differ
diff --git a/visual_new/mediaDINNumeri/mediaDINNumeri/bin/Debug/mediaDINNumeri.vshost.exe b/visual_new/mediaDINNumeri/mediaDINNumeri/bin/Debug/mediaDINNumeri.vshost.exe
new file mode 100644
index 0000000..c0dfecc
Binary files /dev/null and b/visual_new/mediaDINNumeri/mediaDINNumeri/bin/Debug/mediaDINNumeri.vshost.exe differ
diff --git a/visual_new/mediaDINNumeri/mediaDINNumeri/bin/Debug/mediaDINNumeri.vshost.exe.config b/visual_new/mediaDINNumeri/mediaDINNumeri/bin/Debug/mediaDINNumeri.vshost.exe.config
new file mode 100644
index 0000000..8e15646
--- /dev/null
+++ b/visual_new/mediaDINNumeri/mediaDINNumeri/bin/Debug/mediaDINNumeri.vshost.exe.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/visual_new/mediaDINNumeri/mediaDINNumeri/bin/Debug/mediaDINNumeri.vshost.exe.manifest b/visual_new/mediaDINNumeri/mediaDINNumeri/bin/Debug/mediaDINNumeri.vshost.exe.manifest
new file mode 100644
index 0000000..061c9ca
--- /dev/null
+++ b/visual_new/mediaDINNumeri/mediaDINNumeri/bin/Debug/mediaDINNumeri.vshost.exe.manifest
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/visual_new/mediaDINNumeri/mediaDINNumeri/mediaDINNumeri.csproj b/visual_new/mediaDINNumeri/mediaDINNumeri/mediaDINNumeri.csproj
new file mode 100644
index 0000000..0abe808
--- /dev/null
+++ b/visual_new/mediaDINNumeri/mediaDINNumeri/mediaDINNumeri.csproj
@@ -0,0 +1,58 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {52BA96E6-8C9A-4494-AB65-9E44E54A626D}
+ Exe
+ Properties
+ mediaDINNumeri
+ mediaDINNumeri
+ v4.5
+ 512
+
+
+ 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/visual_new/mediaDINNumeri/mediaDINNumeri/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/visual_new/mediaDINNumeri/mediaDINNumeri/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
new file mode 100644
index 0000000..32f042b
Binary files /dev/null and b/visual_new/mediaDINNumeri/mediaDINNumeri/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/visual_new/mediaDINNumeri/mediaDINNumeri/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/visual_new/mediaDINNumeri/mediaDINNumeri/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
new file mode 100644
index 0000000..e69de29
diff --git a/visual_new/mediaDINNumeri/mediaDINNumeri/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/visual_new/mediaDINNumeri/mediaDINNumeri/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
new file mode 100644
index 0000000..e69de29
diff --git a/visual_new/mediaDINNumeri/mediaDINNumeri/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/visual_new/mediaDINNumeri/mediaDINNumeri/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
new file mode 100644
index 0000000..e69de29
diff --git a/visual_new/mediaDINNumeri/mediaDINNumeri/obj/Debug/mediaDINNumeri.csproj.FileListAbsolute.txt b/visual_new/mediaDINNumeri/mediaDINNumeri/obj/Debug/mediaDINNumeri.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..839bf5e
--- /dev/null
+++ b/visual_new/mediaDINNumeri/mediaDINNumeri/obj/Debug/mediaDINNumeri.csproj.FileListAbsolute.txt
@@ -0,0 +1,6 @@
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\mediaDINNumeri\mediaDINNumeri\bin\Debug\mediaDINNumeri.exe.config
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\mediaDINNumeri\mediaDINNumeri\obj\Debug\mediaDINNumeri.csprojResolveAssemblyReference.cache
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\mediaDINNumeri\mediaDINNumeri\bin\Debug\mediaDINNumeri.exe
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\mediaDINNumeri\mediaDINNumeri\bin\Debug\mediaDINNumeri.pdb
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\mediaDINNumeri\mediaDINNumeri\obj\Debug\mediaDINNumeri.exe
+C:\Users\Daniil\Dropbox\DANIIL LICEO ANNO 2015-2016\informatica\visual_new\mediaDINNumeri\mediaDINNumeri\obj\Debug\mediaDINNumeri.pdb
diff --git a/visual_new/mediaDINNumeri/mediaDINNumeri/obj/Debug/mediaDINNumeri.csprojResolveAssemblyReference.cache b/visual_new/mediaDINNumeri/mediaDINNumeri/obj/Debug/mediaDINNumeri.csprojResolveAssemblyReference.cache
new file mode 100644
index 0000000..9542bb3
Binary files /dev/null and b/visual_new/mediaDINNumeri/mediaDINNumeri/obj/Debug/mediaDINNumeri.csprojResolveAssemblyReference.cache differ
diff --git a/visual_new/mediaDINNumeri/mediaDINNumeri/obj/Debug/mediaDINNumeri.exe b/visual_new/mediaDINNumeri/mediaDINNumeri/obj/Debug/mediaDINNumeri.exe
new file mode 100644
index 0000000..90b9400
Binary files /dev/null and b/visual_new/mediaDINNumeri/mediaDINNumeri/obj/Debug/mediaDINNumeri.exe differ
diff --git a/visual_new/mediaDINNumeri/mediaDINNumeri/obj/Debug/mediaDINNumeri.pdb b/visual_new/mediaDINNumeri/mediaDINNumeri/obj/Debug/mediaDINNumeri.pdb
new file mode 100644
index 0000000..f40c048
Binary files /dev/null and b/visual_new/mediaDINNumeri/mediaDINNumeri/obj/Debug/mediaDINNumeri.pdb differ