Rifatto tutto con le funzioni per le opzioni di menù
This commit is contained in:
parent
aff158025f
commit
e4443f46fb
443
Program.cs
443
Program.cs
@ -3,64 +3,28 @@
|
|||||||
class Program
|
class Program
|
||||||
{
|
{
|
||||||
const int dimensione=5;
|
const int dimensione=5;
|
||||||
|
|
||||||
|
const int divisibile=7;
|
||||||
|
|
||||||
|
|
||||||
static void Main(string[] args)
|
static void Main(string[] args)
|
||||||
{
|
{
|
||||||
Console.Clear();
|
Console.Clear();
|
||||||
//dichiarazione e inizializzazione variabili
|
//dichiarazione e inizializzazione variabili
|
||||||
int scelta=0;
|
int scelta;
|
||||||
bool opzione1=false;
|
bool opzione1=false, opzione5=false;
|
||||||
bool opzione5=false;
|
|
||||||
string input="";
|
|
||||||
int i=0;
|
|
||||||
int p=0;
|
|
||||||
int d=0;
|
|
||||||
int k=0;
|
|
||||||
int n=dimensione-1;
|
|
||||||
int numeri=0;
|
|
||||||
int somma=0;
|
|
||||||
int media=0;
|
|
||||||
const int divisibile=7;
|
|
||||||
|
|
||||||
int[] insieme1=new int[dimensione];
|
int[] insieme1=new int[dimensione];
|
||||||
for (int j=0; j<dimensione; j++){
|
int[] insieme2=new int[dimensione];
|
||||||
insieme1[j]=0;
|
int[] insieme3=new int[dimensione];
|
||||||
}
|
|
||||||
|
|
||||||
int[] pari=new int[dimensione];
|
int[] pari=new int[dimensione];
|
||||||
for (int j=0; j<dimensione; j++){
|
|
||||||
pari[j]=0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int[] dispari=new int[dimensione];
|
int[] dispari=new int[dimensione];
|
||||||
for (int j=0; j<dimensione; j++){
|
|
||||||
dispari[j]=0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int[] insiemeDoppio=new int[dimensione*2];
|
int[] insiemeDoppio=new int[dimensione*2];
|
||||||
for (int j=0; j<dimensione*2; j++){
|
|
||||||
insiemeDoppio[j]=0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int[] insieme2=new int[dimensione];
|
|
||||||
for (int j=0; j<dimensione; j++){
|
|
||||||
insieme2[j]=0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int[] insieme3=new int[dimensione];
|
|
||||||
for (int j=0; j<dimensione; j++){
|
|
||||||
insieme3[j]=0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int[] intersezione=new int[dimensione*2];
|
int[] intersezione=new int[dimensione*2];
|
||||||
for (int j=0; j<dimensione*2; j++){
|
|
||||||
intersezione[j]=0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int[] insiemeTriplo=new int[dimensione*3];
|
int[] insiemeTriplo=new int[dimensione*3];
|
||||||
for (int j=0; j<dimensione*3; j++){
|
//--------------------------------------------------------------------------------------------//
|
||||||
insiemeTriplo[j]=0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//menù
|
//menù
|
||||||
do{
|
do{
|
||||||
@ -86,17 +50,8 @@ class Program
|
|||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
Console.Clear();
|
Console.Clear();
|
||||||
i=0;
|
insieme1=CreaArray(dimensione);
|
||||||
do{
|
opzione1=true;//opzione1 indica che la traccia è stata eseguita
|
||||||
Console.Write("Inserire un numero, massimo " +dimensione+ " numeri ([q] per uscire): ");
|
|
||||||
input=Console.ReadLine(); //non posso ancora fare il catch dell'eccezione se viene inserito un qualcosa che non sia un numero o q
|
|
||||||
if (input!="q"){
|
|
||||||
insieme1[i]=Convert.ToInt32(input);
|
|
||||||
}
|
|
||||||
i++;
|
|
||||||
}
|
|
||||||
while (input!="q" && i<dimensione);
|
|
||||||
opzione1=true;//traccia eseguita
|
|
||||||
Pausa();
|
Pausa();
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
@ -115,16 +70,7 @@ class Program
|
|||||||
Console.WriteLine("Errore: è necessario creare l'insieme di numeri prima di calcolarne la media");
|
Console.WriteLine("Errore: è necessario creare l'insieme di numeri prima di calcolarne la media");
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
for (int j=0; j<dimensione; j++){
|
MediaArray(insieme1);
|
||||||
if (insieme1[j]!=0){
|
|
||||||
numeri++;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
for (int j=0; j<dimensione; j++){
|
|
||||||
somma=somma+insieme1[j];
|
|
||||||
}
|
|
||||||
media=somma/numeri;
|
|
||||||
Console.WriteLine("Media: " +media);
|
|
||||||
}
|
}
|
||||||
Pausa();
|
Pausa();
|
||||||
break;
|
break;
|
||||||
@ -134,53 +80,15 @@ class Program
|
|||||||
Console.WriteLine("Errore: è necessario creare l'insieme di numeri prima di individuare i suoi multipli di " +divisibile);
|
Console.WriteLine("Errore: è necessario creare l'insieme di numeri prima di individuare i suoi multipli di " +divisibile);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
for (int j=0; j<dimensione; j++){
|
PariMultipliDi(insieme1);
|
||||||
if (insieme1[j]%2==0 && insieme1[j]%divisibile==0 && insieme1[j]!=0){
|
|
||||||
Console.WriteLine("Elemento " +j+ ": " +insieme1[j]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Pausa();
|
Pausa();
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5: //non può essere semplificato in funzione perché avrei bisogno di restituire due array e non uno, e non sono in grado di dividerla
|
||||||
Console.Clear();
|
Console.Clear();
|
||||||
//reset per permettere esecuzioni consecutive
|
|
||||||
i=0;
|
pari=CreaArrayPari(dimensione, true);
|
||||||
p=0;
|
dispari=CreaArrayPari(dimensione, false);
|
||||||
d=0;
|
|
||||||
for (int j=0; j<dimensione; j++){
|
|
||||||
pari[j]=0;
|
|
||||||
}
|
|
||||||
for (int j=0; j<dimensione; j++){
|
|
||||||
dispari[j]=0;
|
|
||||||
}
|
|
||||||
//inserimento e logica
|
|
||||||
do{
|
|
||||||
Console.Write("Inserire un numero, massimo " +dimensione*2+ " numeri ([q] per uscire): ");
|
|
||||||
input=Console.ReadLine(); //non posso ancora fare il catch dell'eccezione se viene inserito un qualcosa che non sia un numero o q
|
|
||||||
//catch del tentativo di indirizzare fuori dall'array
|
|
||||||
if (p>=dimensione && Convert.ToInt32(input)%2==0){
|
|
||||||
Console.WriteLine("E' stato inserito il numero massimo di numeri pari, riprovare.");
|
|
||||||
}
|
|
||||||
else if (d>=dimensione && Convert.ToInt32(input)%2!=0){
|
|
||||||
Console.WriteLine("E' stato inserito il numero massimo di numeri dispari, riprovare.");
|
|
||||||
}
|
|
||||||
//assegnazione negli array
|
|
||||||
else {
|
|
||||||
if (input!="q"){//non si è interrotto l'inserimento
|
|
||||||
if(Convert.ToInt32(input)%2==0){//se pari
|
|
||||||
pari[p]=Convert.ToInt32(input);
|
|
||||||
p++;
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
dispari[d]=Convert.ToInt32(input);
|
|
||||||
d++;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
i++;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
while (input!="q" && i<dimensione*2);
|
|
||||||
|
|
||||||
//output
|
//output
|
||||||
Console.WriteLine("Numeri pari:");
|
Console.WriteLine("Numeri pari:");
|
||||||
@ -204,55 +112,24 @@ class Program
|
|||||||
Console.WriteLine("Errore: è necessario creare l'insieme dei numeri pari e dispari prima di stamparne l'unione");
|
Console.WriteLine("Errore: è necessario creare l'insieme dei numeri pari e dispari prima di stamparne l'unione");
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
for (int j=0; j<dimensione*2; j++){
|
|
||||||
insiemeDoppio[j]=0;
|
|
||||||
}
|
|
||||||
|
|
||||||
for (int j=0; j<dimensione*2; j++){
|
|
||||||
insiemeDoppio[j]=0;
|
|
||||||
}
|
|
||||||
insiemeDoppio=Unione(pari,dispari);
|
insiemeDoppio=Unione(pari,dispari);
|
||||||
StampaArray(insiemeDoppio);
|
StampaArray(insiemeDoppio);
|
||||||
}
|
}
|
||||||
Pausa();
|
Pausa();
|
||||||
break;
|
break;
|
||||||
case 7:
|
case 7:
|
||||||
//reset variabili
|
|
||||||
for (int j=0; j<dimensione; j++){
|
|
||||||
insieme2[j]=0;
|
|
||||||
}
|
|
||||||
for (int j=0; j<dimensione; j++){
|
|
||||||
insieme3[j]=0;
|
|
||||||
}
|
|
||||||
i=0;
|
|
||||||
|
|
||||||
Console.Clear();
|
Console.Clear();
|
||||||
Console.WriteLine("Insieme 1");
|
Console.WriteLine("Insieme 1");
|
||||||
do{
|
insieme2=CreaArray(dimensione);
|
||||||
Console.Write("Inserire un numero, massimo " +dimensione+ " numeri ([q] per uscire): ");
|
|
||||||
input=Console.ReadLine(); //non posso ancora fare il catch dell'eccezione se viene inserito un qualcosa che non sia un numero o q
|
|
||||||
if (input!="q"){
|
|
||||||
insieme2[i]=Convert.ToInt32(input);
|
|
||||||
}
|
|
||||||
i++;
|
|
||||||
}
|
|
||||||
while (input!="q" && i<dimensione);
|
|
||||||
Console.Clear();
|
Console.Clear();
|
||||||
//reset contatore
|
|
||||||
i=0;
|
|
||||||
Console.WriteLine("Insieme 2");
|
Console.WriteLine("Insieme 2");
|
||||||
do{
|
insieme3=CreaArray(dimensione);
|
||||||
Console.Write("Inserire un numero, massimo " +dimensione+ " numeri ([q] per uscire): ");
|
|
||||||
input=Console.ReadLine(); //non posso ancora fare il catch dell'eccezione se viene inserito un qualcosa che non sia un numero o q
|
|
||||||
if (input!="q"){
|
|
||||||
insieme3[i]=Convert.ToInt32(input);
|
|
||||||
}
|
|
||||||
i++;
|
|
||||||
}
|
|
||||||
while (input!="q" && i<dimensione);
|
|
||||||
Console.Clear();
|
Console.Clear();
|
||||||
intersezione=Intersezione(insieme2, insieme3);
|
intersezione=Intersezione(insieme2, insieme3);
|
||||||
for (int j=0; j<dimensione; j++){
|
|
||||||
|
for(int j=0; j<dimensione; j++){ //non è la funzione StampaArray perché non voglio far vedere gli zero
|
||||||
if(intersezione[j]!=0){
|
if(intersezione[j]!=0){
|
||||||
Console.WriteLine("Elemento " +j+ ": " +intersezione[j]);
|
Console.WriteLine("Elemento " +j+ ": " +intersezione[j]);
|
||||||
}
|
}
|
||||||
@ -260,163 +137,45 @@ class Program
|
|||||||
Pausa();
|
Pausa();
|
||||||
break;
|
break;
|
||||||
case 8:
|
case 8:
|
||||||
//reset variabili
|
|
||||||
for (int j=0; j<dimensione; j++){
|
|
||||||
insieme2[j]=0;
|
|
||||||
}
|
|
||||||
for (int j=0; j<dimensione; j++){
|
|
||||||
insieme3[j]=0;
|
|
||||||
}
|
|
||||||
for (int j=0; j<dimensione*2; j++){
|
|
||||||
insiemeDoppio[j]=0;
|
|
||||||
}
|
|
||||||
i=0;
|
|
||||||
|
|
||||||
Console.Clear();
|
Console.Clear();
|
||||||
Console.WriteLine("Insieme 1");
|
Console.WriteLine("Insieme 1");
|
||||||
do{
|
insieme2=CreaArray(dimensione);
|
||||||
Console.Write("Inserire un numero, massimo " +dimensione+ " numeri ([q] per uscire): ");
|
|
||||||
input=Console.ReadLine(); //non posso ancora fare il catch dell'eccezione se viene inserito un qualcosa che non sia un numero o q
|
|
||||||
if (input!="q"){
|
|
||||||
insieme2[i]=Convert.ToInt32(input);
|
|
||||||
}
|
|
||||||
i++;
|
|
||||||
}
|
|
||||||
while (input!="q" && i<dimensione);
|
|
||||||
Console.Clear();
|
Console.Clear();
|
||||||
//reset contatore
|
|
||||||
i=0;
|
|
||||||
Console.WriteLine("Insieme 2");
|
Console.WriteLine("Insieme 2");
|
||||||
do{
|
insieme3=CreaArray(dimensione);
|
||||||
Console.Write("Inserire un numero, massimo " +dimensione+ " numeri ([q] per uscire): ");
|
|
||||||
input=Console.ReadLine(); //non posso ancora fare il catch dell'eccezione se viene inserito un qualcosa che non sia un numero o q
|
|
||||||
if (input!="q"){
|
|
||||||
insieme3[i]=Convert.ToInt32(input);
|
|
||||||
}
|
|
||||||
i++;
|
|
||||||
}
|
|
||||||
while (input!="q" && i<dimensione);
|
|
||||||
|
|
||||||
for (int j=0; j<dimensione*2; j++){
|
|
||||||
if(j%2!=0){
|
|
||||||
insiemeDoppio[j]=insieme3[n];
|
|
||||||
n--;
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
|
|
||||||
insiemeDoppio[j]=insieme2[k];
|
|
||||||
k++;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Console.Clear();
|
Console.Clear();
|
||||||
|
insiemeDoppio=MischiaInsiemi(insieme2, insieme3);
|
||||||
StampaArray(insiemeDoppio);
|
StampaArray(insiemeDoppio);
|
||||||
Pausa();
|
Pausa();
|
||||||
break;
|
break;
|
||||||
case 9:
|
case 9:
|
||||||
//reset variabili
|
|
||||||
for (int j=0; j<dimensione; j++){
|
|
||||||
insieme2[j]=0;
|
|
||||||
}
|
|
||||||
for (int j=0; j<dimensione; j++){
|
|
||||||
insieme3[j]=0;
|
|
||||||
}
|
|
||||||
for (int j=0; j<dimensione*2; j++){
|
|
||||||
insiemeDoppio[j]=0;
|
|
||||||
}
|
|
||||||
i=0;
|
|
||||||
|
|
||||||
Console.Clear();
|
Console.Clear();
|
||||||
Console.WriteLine("Insieme 1");
|
Console.WriteLine("Insieme 1");
|
||||||
do{
|
insieme2=CreaArray(dimensione);
|
||||||
Console.Write("Inserire un numero, massimo " +dimensione+ " numeri ([q] per uscire): ");
|
|
||||||
input=Console.ReadLine(); //non posso ancora fare il catch dell'eccezione se viene inserito un qualcosa che non sia un numero o q
|
|
||||||
if (input!="q"){
|
|
||||||
insieme2[i]=Convert.ToInt32(input);
|
|
||||||
}
|
|
||||||
i++;
|
|
||||||
}
|
|
||||||
while (input!="q" && i<dimensione);
|
|
||||||
Console.Clear();
|
|
||||||
//reset contatore
|
|
||||||
i=0;
|
|
||||||
Console.WriteLine("Insieme 2");
|
|
||||||
do{
|
|
||||||
Console.Write("Inserire un numero, massimo " +dimensione+ " numeri ([q] per uscire): ");
|
|
||||||
input=Console.ReadLine(); //non posso ancora fare il catch dell'eccezione se viene inserito un qualcosa che non sia un numero o q
|
|
||||||
if (input!="q"){
|
|
||||||
insieme3[i]=Convert.ToInt32(input);
|
|
||||||
}
|
|
||||||
i++;
|
|
||||||
}
|
|
||||||
while (input!="q" && i<dimensione);
|
|
||||||
Console.Clear();
|
|
||||||
|
|
||||||
i=0;
|
Console.Clear();
|
||||||
for(int j=0; j<dimensione*2; j++){
|
Console.WriteLine("Insieme 2");
|
||||||
if(j%2!=0){
|
insieme3=CreaArray(dimensione);
|
||||||
insiemeDoppio[j]=insieme3[i];
|
|
||||||
i++;
|
Console.Clear();
|
||||||
}
|
insiemeDoppio=MischiaInsiemi2(insieme2, insieme3, dimensione*2);
|
||||||
else{
|
|
||||||
insiemeDoppio[j]=insieme2[i];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
StampaArray(insiemeDoppio);
|
StampaArray(insiemeDoppio);
|
||||||
Pausa();
|
Pausa();
|
||||||
break;
|
break;
|
||||||
case 10:
|
case 10:
|
||||||
//reset variabili
|
|
||||||
for (int j=0; j<dimensione; j++){
|
|
||||||
insieme2[j]=0;
|
|
||||||
}
|
|
||||||
for (int j=0; j<dimensione; j++){
|
|
||||||
insieme3[j]=0;
|
|
||||||
}
|
|
||||||
for (int j=0; j<dimensione*2; j++){
|
|
||||||
insiemeDoppio[j]=0;
|
|
||||||
}
|
|
||||||
i=0;
|
|
||||||
|
|
||||||
Console.Clear();
|
Console.Clear();
|
||||||
Console.WriteLine("Insieme 1");
|
Console.WriteLine("Insieme 1");
|
||||||
do{
|
insieme2=CreaArray(dimensione);
|
||||||
Console.Write("Inserire un numero, massimo " +dimensione+ " numeri ([q] per uscire): ");
|
|
||||||
input=Console.ReadLine(); //non posso ancora fare il catch dell'eccezione se viene inserito un qualcosa che non sia un numero o q
|
|
||||||
if (input!="q"){
|
|
||||||
insieme2[i]=Convert.ToInt32(input);
|
|
||||||
}
|
|
||||||
i++;
|
|
||||||
}
|
|
||||||
while (input!="q" && i<dimensione);
|
|
||||||
Console.Clear();
|
|
||||||
//reset contatore
|
|
||||||
i=0;
|
|
||||||
Console.WriteLine("Insieme 2");
|
|
||||||
do{
|
|
||||||
Console.Write("Inserire un numero, massimo " +dimensione*2+ " numeri ([q] per uscire): ");
|
|
||||||
input=Console.ReadLine(); //non posso ancora fare il catch dell'eccezione se viene inserito un qualcosa che non sia un numero o q
|
|
||||||
if (input!="q"){
|
|
||||||
insiemeDoppio[i]=Convert.ToInt32(input);
|
|
||||||
}
|
|
||||||
i++;
|
|
||||||
}
|
|
||||||
while (input!="q" && i<dimensione*2);
|
|
||||||
Console.Clear();
|
|
||||||
|
|
||||||
i=0;
|
Console.Clear();
|
||||||
for(int j=0; j<dimensione*2; j++){
|
Console.WriteLine("Insieme 2");
|
||||||
if(j%2!=0){
|
insiemeDoppio=CreaArray(dimensione*2);
|
||||||
insiemeTriplo[j]=insiemeDoppio[i];
|
|
||||||
i++;
|
Console.Clear();
|
||||||
}
|
insiemeTriplo=MischiaInsiemi2(insieme2, insiemeDoppio, dimensione*3);
|
||||||
else{
|
insiemeTriplo=Accoda(insiemeTriplo, insiemeDoppio);
|
||||||
insiemeTriplo[j]=insieme2[i];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
for(int j=0; j<dimensione; j++){
|
|
||||||
insiemeTriplo[dimensione*2+j]=insiemeDoppio[i];
|
|
||||||
i++;
|
|
||||||
}
|
|
||||||
StampaArray(insiemeTriplo);
|
StampaArray(insiemeTriplo);
|
||||||
Pausa();
|
Pausa();
|
||||||
break;
|
break;
|
||||||
@ -433,11 +192,119 @@ class Program
|
|||||||
Console.ReadLine();
|
Console.ReadLine();
|
||||||
Console.Clear();
|
Console.Clear();
|
||||||
}
|
}
|
||||||
|
static int[] CreaArray(int p_dimensione){
|
||||||
|
int[] ritorno=new int[p_dimensione];
|
||||||
|
int i=0;
|
||||||
|
string input;
|
||||||
|
|
||||||
|
do{
|
||||||
|
Console.Write("Inserire un numero, massimo " +p_dimensione+ " numeri ([q] per uscire): ");
|
||||||
|
input=Console.ReadLine(); //non posso ancora fare il catch dell'eccezione se viene inserito un qualcosa che non sia un numero o q
|
||||||
|
if(input!="q"){
|
||||||
|
ritorno[i]=Convert.ToInt32(input);
|
||||||
|
}
|
||||||
|
i++;
|
||||||
|
}
|
||||||
|
while(input!="q" && i<p_dimensione);
|
||||||
|
return ritorno;
|
||||||
|
}
|
||||||
static void StampaArray(int [] p_insieme) {
|
static void StampaArray(int [] p_insieme) {
|
||||||
for (int j=0; j<p_insieme.Length; j++){
|
for (int j=0; j<p_insieme.Length; j++){
|
||||||
Console.WriteLine("Elemento " +j+ ": " +p_insieme[j]);
|
Console.WriteLine("Elemento " +j+ ": " +p_insieme[j]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
static void MediaArray(int[] p_insieme) {
|
||||||
|
int i=0, somma=0, media;
|
||||||
|
for(int j=0; j<dimensione; j++){
|
||||||
|
if(p_insieme[j]!=0){
|
||||||
|
i++;
|
||||||
|
somma=somma+p_insieme[j];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
media=somma/i;
|
||||||
|
Console.WriteLine("Media: " +media);
|
||||||
|
}
|
||||||
|
static void PariMultipliDi(int[] p_insieme) {
|
||||||
|
for(int j=0; j<dimensione; j++){
|
||||||
|
if(p_insieme[j]%2==0 && p_insieme[j]%divisibile==0 && p_insieme[j]!=0){
|
||||||
|
Console.WriteLine("Elemento " +j+ ": " +p_insieme[j]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
static int[] CreaArrayPari(int p_dimensione, bool p_pari){
|
||||||
|
int[] ritorno=new int[p_dimensione];
|
||||||
|
int i=0;
|
||||||
|
string input;
|
||||||
|
|
||||||
|
Console.Clear();
|
||||||
|
if(p_pari==true){
|
||||||
|
do{
|
||||||
|
Console.Write("Inserire un numero pari, massimo " +p_dimensione+ " numeri ([q] per uscire): ");
|
||||||
|
input=Console.ReadLine(); //non posso ancora fare il catch dell'eccezione se viene inserito un qualcosa che non sia un numero o q
|
||||||
|
if(input!="q"){
|
||||||
|
if(Convert.ToInt32(input)%2==0){//se pari
|
||||||
|
ritorno[i]=Convert.ToInt32(input);
|
||||||
|
i++;
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
Console.WriteLine("Errore: Inserire un numero pari.");
|
||||||
|
Pausa();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
while(input!="q" && i<p_dimensione);
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
do{
|
||||||
|
Console.Write("Inserire un numero dispari, massimo " +p_dimensione+ " numeri ([q] per uscire): ");
|
||||||
|
input=Console.ReadLine(); //non posso ancora fare il catch dell'eccezione se viene inserito un qualcosa che non sia un numero o q
|
||||||
|
if(input!="q"){
|
||||||
|
if(Convert.ToInt32(input)%2!=0){//se dispari
|
||||||
|
ritorno[i]=Convert.ToInt32(input);
|
||||||
|
i++;
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
Console.WriteLine("Errore: Inserire un numero dispari.");
|
||||||
|
Pausa();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
while(input!="q" && i<p_dimensione);
|
||||||
|
}
|
||||||
|
return ritorno;
|
||||||
|
}
|
||||||
|
static int[] MischiaInsiemi(int[] p_insieme1, int[] p_insieme2){
|
||||||
|
int[] ritorno=new int[dimensione*2];
|
||||||
|
int j=dimensione-1, k=0;
|
||||||
|
for (int i=0; i<dimensione*2; i++){
|
||||||
|
if(i%2!=0){
|
||||||
|
ritorno[i]=p_insieme2[j];
|
||||||
|
j--;
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
ritorno[i]=p_insieme1[k];
|
||||||
|
k++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return ritorno;
|
||||||
|
|
||||||
|
}
|
||||||
|
static int[] MischiaInsiemi2(int[] p_insieme1, int[] p_insieme2, int p_dimensione){
|
||||||
|
int[] ritorno=new int[p_dimensione];
|
||||||
|
int j=0;
|
||||||
|
for(int i=0; j<dimensione; i++){
|
||||||
|
if(i%2!=0){
|
||||||
|
ritorno[i]=p_insieme2[j];
|
||||||
|
j++;
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
ritorno[i]=p_insieme1[j];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return ritorno;
|
||||||
|
}
|
||||||
static int[] Unione(int[] p_array1, int[] p_array2){
|
static int[] Unione(int[] p_array1, int[] p_array2){
|
||||||
//Dichiarazione e inizializzazione delle variabili
|
//Dichiarazione e inizializzazione delle variabili
|
||||||
int [] ritorno=new int[dimensione*2];
|
int [] ritorno=new int[dimensione*2];
|
||||||
@ -467,4 +334,12 @@ class Program
|
|||||||
return ritorno;
|
return ritorno;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
static int[] Accoda(int[] p_insieme1, int[] p_insieme2){
|
||||||
|
int i=dimensione;
|
||||||
|
for(int j=0; j<dimensione; j++){
|
||||||
|
p_insieme1[dimensione*2+j]=p_insieme2[i];
|
||||||
|
i++;
|
||||||
|
}
|
||||||
|
return p_insieme1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,9 +2,10 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>net9.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
|
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@ -1,15 +1,25 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio Version 17
|
# Visual Studio Version 17
|
||||||
VisualStudioVersion = 17.0.31903.59
|
VisualStudioVersion = 17.5.002.0
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "array_funzioni", "array_funzioni.csproj", {
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "array_funzioni", "array_funzioni.csproj", "{864A6207-1F69-41C7-9970-C11E4861CA13}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
Release|Any CPU = Release|Any CPU
|
Release|Any CPU = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{864A6207-1F69-41C7-9970-C11E4861CA13}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{864A6207-1F69-41C7-9970-C11E4861CA13}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{864A6207-1F69-41C7-9970-C11E4861CA13}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{864A6207-1F69-41C7-9970-C11E4861CA13}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {A818DE5B-CCE3-4EBA-BFAF-4309F309D985}
|
||||||
|
EndGlobalSection
|
||||||
EndGlobal
|
EndGlobal
|
||||||
|
|||||||
BIN
bin/Debug/net8.0/array_funzioni
Executable file
BIN
bin/Debug/net8.0/array_funzioni
Executable file
Binary file not shown.
23
bin/Debug/net8.0/array_funzioni.deps.json
Normal file
23
bin/Debug/net8.0/array_funzioni.deps.json
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"runtimeTarget": {
|
||||||
|
"name": ".NETCoreApp,Version=v8.0",
|
||||||
|
"signature": ""
|
||||||
|
},
|
||||||
|
"compilationOptions": {},
|
||||||
|
"targets": {
|
||||||
|
".NETCoreApp,Version=v8.0": {
|
||||||
|
"array_funzioni/1.0.0": {
|
||||||
|
"runtime": {
|
||||||
|
"array_funzioni.dll": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"libraries": {
|
||||||
|
"array_funzioni/1.0.0": {
|
||||||
|
"type": "project",
|
||||||
|
"serviceable": false,
|
||||||
|
"sha512": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
bin/Debug/net8.0/array_funzioni.dll
Normal file
BIN
bin/Debug/net8.0/array_funzioni.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/array_funzioni.pdb
Normal file
BIN
bin/Debug/net8.0/array_funzioni.pdb
Normal file
Binary file not shown.
12
bin/Debug/net8.0/array_funzioni.runtimeconfig.json
Normal file
12
bin/Debug/net8.0/array_funzioni.runtimeconfig.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"runtimeOptions": {
|
||||||
|
"tfm": "net8.0",
|
||||||
|
"framework": {
|
||||||
|
"name": "Microsoft.NETCore.App",
|
||||||
|
"version": "8.0.0"
|
||||||
|
},
|
||||||
|
"configProperties": {
|
||||||
|
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
Binary file not shown.
@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
|
||||||
BIN
obj/Debug/net8.0/apphost
Executable file
BIN
obj/Debug/net8.0/apphost
Executable file
Binary file not shown.
22
obj/Debug/net8.0/array_funzioni.AssemblyInfo.cs
Normal file
22
obj/Debug/net8.0/array_funzioni.AssemblyInfo.cs
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
|
||||||
|
[assembly: System.Reflection.AssemblyCompanyAttribute("array_funzioni")]
|
||||||
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+aff158025ffd64c67b8acff27ae876c11cf43330")]
|
||||||
|
[assembly: System.Reflection.AssemblyProductAttribute("array_funzioni")]
|
||||||
|
[assembly: System.Reflection.AssemblyTitleAttribute("array_funzioni")]
|
||||||
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|
||||||
|
// Generated by the MSBuild WriteCodeFragment class.
|
||||||
|
|
||||||
1
obj/Debug/net8.0/array_funzioni.AssemblyInfoInputs.cache
Normal file
1
obj/Debug/net8.0/array_funzioni.AssemblyInfoInputs.cache
Normal file
@ -0,0 +1 @@
|
|||||||
|
6438fb9972934779e223fac511ff88d3b574524fa9b29ce494ac342009343976
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
is_global = true
|
||||||
|
build_property.TargetFramework = net8.0
|
||||||
|
build_property.TargetPlatformMinVersion =
|
||||||
|
build_property.UsingMicrosoftNETSdkWeb =
|
||||||
|
build_property.ProjectTypeGuids =
|
||||||
|
build_property.InvariantGlobalization =
|
||||||
|
build_property.PlatformNeutralAssembly =
|
||||||
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
|
build_property.RootNamespace = array_funzioni
|
||||||
|
build_property.ProjectDir = /home/BrainTheBest5/git/array_funzioni/
|
||||||
|
build_property.EnableComHosting =
|
||||||
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||||
|
build_property.EffectiveAnalysisLevelStyle = 8.0
|
||||||
|
build_property.EnableCodeStyleSeverity =
|
||||||
8
obj/Debug/net8.0/array_funzioni.GlobalUsings.g.cs
Normal file
8
obj/Debug/net8.0/array_funzioni.GlobalUsings.g.cs
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
// <auto-generated/>
|
||||||
|
global using global::System;
|
||||||
|
global using global::System.Collections.Generic;
|
||||||
|
global using global::System.IO;
|
||||||
|
global using global::System.Linq;
|
||||||
|
global using global::System.Net.Http;
|
||||||
|
global using global::System.Threading;
|
||||||
|
global using global::System.Threading.Tasks;
|
||||||
BIN
obj/Debug/net8.0/array_funzioni.assets.cache
Normal file
BIN
obj/Debug/net8.0/array_funzioni.assets.cache
Normal file
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
88e06daacd345a3480308b4979effe9b945e521ba30ef294122a4336ea4cadcd
|
||||||
14
obj/Debug/net8.0/array_funzioni.csproj.FileListAbsolute.txt
Normal file
14
obj/Debug/net8.0/array_funzioni.csproj.FileListAbsolute.txt
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
/home/BrainTheBest5/git/array_funzioni/bin/Debug/net8.0/array_funzioni
|
||||||
|
/home/BrainTheBest5/git/array_funzioni/bin/Debug/net8.0/array_funzioni.deps.json
|
||||||
|
/home/BrainTheBest5/git/array_funzioni/bin/Debug/net8.0/array_funzioni.runtimeconfig.json
|
||||||
|
/home/BrainTheBest5/git/array_funzioni/bin/Debug/net8.0/array_funzioni.dll
|
||||||
|
/home/BrainTheBest5/git/array_funzioni/bin/Debug/net8.0/array_funzioni.pdb
|
||||||
|
/home/BrainTheBest5/git/array_funzioni/obj/Debug/net8.0/array_funzioni.GeneratedMSBuildEditorConfig.editorconfig
|
||||||
|
/home/BrainTheBest5/git/array_funzioni/obj/Debug/net8.0/array_funzioni.AssemblyInfoInputs.cache
|
||||||
|
/home/BrainTheBest5/git/array_funzioni/obj/Debug/net8.0/array_funzioni.AssemblyInfo.cs
|
||||||
|
/home/BrainTheBest5/git/array_funzioni/obj/Debug/net8.0/array_funzioni.csproj.CoreCompileInputs.cache
|
||||||
|
/home/BrainTheBest5/git/array_funzioni/obj/Debug/net8.0/array_funzioni.dll
|
||||||
|
/home/BrainTheBest5/git/array_funzioni/obj/Debug/net8.0/refint/array_funzioni.dll
|
||||||
|
/home/BrainTheBest5/git/array_funzioni/obj/Debug/net8.0/array_funzioni.pdb
|
||||||
|
/home/BrainTheBest5/git/array_funzioni/obj/Debug/net8.0/array_funzioni.genruntimeconfig.cache
|
||||||
|
/home/BrainTheBest5/git/array_funzioni/obj/Debug/net8.0/ref/array_funzioni.dll
|
||||||
BIN
obj/Debug/net8.0/array_funzioni.dll
Normal file
BIN
obj/Debug/net8.0/array_funzioni.dll
Normal file
Binary file not shown.
1
obj/Debug/net8.0/array_funzioni.genruntimeconfig.cache
Normal file
1
obj/Debug/net8.0/array_funzioni.genruntimeconfig.cache
Normal file
@ -0,0 +1 @@
|
|||||||
|
8b9c729e3fe80e3550c7f9161fa8bda1fed5e95cd95402875f1c6b2af2941a81
|
||||||
BIN
obj/Debug/net8.0/array_funzioni.pdb
Normal file
BIN
obj/Debug/net8.0/array_funzioni.pdb
Normal file
Binary file not shown.
BIN
obj/Debug/net8.0/ref/array_funzioni.dll
Normal file
BIN
obj/Debug/net8.0/ref/array_funzioni.dll
Normal file
Binary file not shown.
BIN
obj/Debug/net8.0/refint/array_funzioni.dll
Normal file
BIN
obj/Debug/net8.0/refint/array_funzioni.dll
Normal file
Binary file not shown.
@ -13,7 +13,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("array_funzioni")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("array_funzioni")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+5550fe97d55be94e738ce8c3cf4a9dfc14391aab")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+aff158025ffd64c67b8acff27ae876c11cf43330")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("array_funzioni")]
|
[assembly: System.Reflection.AssemblyProductAttribute("array_funzioni")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("array_funzioni")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("array_funzioni")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
4c7fde40aa9590eb6e46f6c3df76313ded3d5322caad874ec534ac81c51140a1
|
6438fb9972934779e223fac511ff88d3b574524fa9b29ce494ac342009343976
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -17,14 +17,14 @@
|
|||||||
"/home/BrainTheBest5/.nuget/NuGet/NuGet.Config"
|
"/home/BrainTheBest5/.nuget/NuGet/NuGet.Config"
|
||||||
],
|
],
|
||||||
"originalTargetFrameworks": [
|
"originalTargetFrameworks": [
|
||||||
"net9.0"
|
"net8.0"
|
||||||
],
|
],
|
||||||
"sources": {
|
"sources": {
|
||||||
"https://api.nuget.org/v3/index.json": {}
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"net9.0": {
|
"net8.0": {
|
||||||
"targetAlias": "net9.0",
|
"targetAlias": "net8.0",
|
||||||
"projectReferences": {}
|
"projectReferences": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -41,8 +41,8 @@
|
|||||||
"SdkAnalysisLevel": "9.0.100"
|
"SdkAnalysisLevel": "9.0.100"
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"net9.0": {
|
"net8.0": {
|
||||||
"targetAlias": "net9.0",
|
"targetAlias": "net8.0",
|
||||||
"imports": [
|
"imports": [
|
||||||
"net461",
|
"net461",
|
||||||
"net462",
|
"net462",
|
||||||
@ -57,7 +57,15 @@
|
|||||||
"downloadDependencies": [
|
"downloadDependencies": [
|
||||||
{
|
{
|
||||||
"name": "Microsoft.AspNetCore.App.Ref",
|
"name": "Microsoft.AspNetCore.App.Ref",
|
||||||
"version": "[9.0.0, 9.0.0]"
|
"version": "[8.0.11, 8.0.11]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Microsoft.NETCore.App.Host.linux-x64",
|
||||||
|
"version": "[8.0.11, 8.0.11]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Microsoft.NETCore.App.Ref",
|
||||||
|
"version": "[8.0.11, 8.0.11]"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"frameworkReferences": {
|
"frameworkReferences": {
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"version": 3,
|
"version": 3,
|
||||||
"targets": {
|
"targets": {
|
||||||
"net9.0": {}
|
"net8.0": {}
|
||||||
},
|
},
|
||||||
"libraries": {},
|
"libraries": {},
|
||||||
"projectFileDependencyGroups": {
|
"projectFileDependencyGroups": {
|
||||||
"net9.0": []
|
"net8.0": []
|
||||||
},
|
},
|
||||||
"packageFolders": {
|
"packageFolders": {
|
||||||
"/home/BrainTheBest5/.nuget/packages/": {}
|
"/home/BrainTheBest5/.nuget/packages/": {}
|
||||||
@ -23,14 +23,14 @@
|
|||||||
"/home/BrainTheBest5/.nuget/NuGet/NuGet.Config"
|
"/home/BrainTheBest5/.nuget/NuGet/NuGet.Config"
|
||||||
],
|
],
|
||||||
"originalTargetFrameworks": [
|
"originalTargetFrameworks": [
|
||||||
"net9.0"
|
"net8.0"
|
||||||
],
|
],
|
||||||
"sources": {
|
"sources": {
|
||||||
"https://api.nuget.org/v3/index.json": {}
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"net9.0": {
|
"net8.0": {
|
||||||
"targetAlias": "net9.0",
|
"targetAlias": "net8.0",
|
||||||
"projectReferences": {}
|
"projectReferences": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -47,8 +47,8 @@
|
|||||||
"SdkAnalysisLevel": "9.0.100"
|
"SdkAnalysisLevel": "9.0.100"
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"net9.0": {
|
"net8.0": {
|
||||||
"targetAlias": "net9.0",
|
"targetAlias": "net8.0",
|
||||||
"imports": [
|
"imports": [
|
||||||
"net461",
|
"net461",
|
||||||
"net462",
|
"net462",
|
||||||
@ -63,7 +63,15 @@
|
|||||||
"downloadDependencies": [
|
"downloadDependencies": [
|
||||||
{
|
{
|
||||||
"name": "Microsoft.AspNetCore.App.Ref",
|
"name": "Microsoft.AspNetCore.App.Ref",
|
||||||
"version": "[9.0.0, 9.0.0]"
|
"version": "[8.0.11, 8.0.11]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Microsoft.NETCore.App.Host.linux-x64",
|
||||||
|
"version": "[8.0.11, 8.0.11]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Microsoft.NETCore.App.Ref",
|
||||||
|
"version": "[8.0.11, 8.0.11]"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"frameworkReferences": {
|
"frameworkReferences": {
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"dgSpecHash": "23BiATKNC0U=",
|
"dgSpecHash": "IkySodfBy9A=",
|
||||||
"success": true,
|
"success": true,
|
||||||
"projectFilePath": "/home/BrainTheBest5/git/array_funzioni/array_funzioni.csproj",
|
"projectFilePath": "/home/BrainTheBest5/git/array_funzioni/array_funzioni.csproj",
|
||||||
"expectedPackageFiles": [
|
"expectedPackageFiles": [
|
||||||
"/home/BrainTheBest5/.nuget/packages/microsoft.aspnetcore.app.ref/9.0.0/microsoft.aspnetcore.app.ref.9.0.0.nupkg.sha512"
|
"/home/BrainTheBest5/.nuget/packages/microsoft.netcore.app.ref/8.0.11/microsoft.netcore.app.ref.8.0.11.nupkg.sha512",
|
||||||
|
"/home/BrainTheBest5/.nuget/packages/microsoft.aspnetcore.app.ref/8.0.11/microsoft.aspnetcore.app.ref.8.0.11.nupkg.sha512",
|
||||||
|
"/home/BrainTheBest5/.nuget/packages/microsoft.netcore.app.host.linux-x64/8.0.11/microsoft.netcore.app.host.linux-x64.8.0.11.nupkg.sha512"
|
||||||
],
|
],
|
||||||
"logs": []
|
"logs": []
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user