Home| Progetto| Web| Faq| Acronimi | ||||
Argomenti Documenti pubblicabili:1120
Scripts:1282 Documenti non pubblicabili:162 Categorie tematiche:68 .Net |_C# |_Visual basic.net |_Asp.net Active Server Pages C++ Cascade Style Sheet JavaScript Mysql Php Xml Java |_Java 2 Micro Edition |_Java server pages |_Java Servlet Oracle |_PLSQL PostgreSQL Unix
C#...
Info:
C# Processo di compilazione
Unix...
Tip:
Rimuovere un file in Unix / Delete a file
PLSQL...
Script:
TYPE TABLE
C#...
Tip:
Attivare e disabilitare una voce di menu
Shell scripting...
Script:
Script for archiving and compressing folder and file
Basically, a web session can be defined as the timeframe in which a visitor navigates your web site.
Php Funzione mail()
XPath is a language for addressing parts of an XML document.
It is designed to be used by XSLT and XPointer.
Basically, a web session can be defined as the timeframe in which a visitor navigates your web site.
|
C#
Home >C# > ArrayList
// myClass.cs using System; class myClass { static void Main(string[] args) { //ArrayList //dichiarazione e inizializzazione degli oggetti // che verranno aggiunti all' ArrayList // array bidimensionale string[ , ] arr2dCondottieri = {{"Annibale", "Cesare", "Napoleone"}, {"Cartagine", "Roma", "Corsica"}} ; // array di interi int[] theIntegers = new int[] {10,20,30}; // jagged array string[][] provincie = new string [2][]; provincie[0] = new string[] {"AVELLINO","BENEVENTO","CASERTA", "NAPOLI","SALERNO"}; provincie[1] = new string[] {"AGRIGENTO", "CALTANISSETTA","CATANIA", "ENNA","MESSINA","PALERMO","RAGUSA","SIRACUSA","TRAPANI"}; // collections - ArrayList -> instanza System.Collections.ArrayList myArrayList = new System.Collections.ArrayList(); // metodo Add myArrayList.Add(arr2dCondottieri); myArrayList.Add(provincie); myArrayList.Add(theIntegers); // dichiarazione e inizializzazione 2 stringhe string myString0 = "Benvenuti"; string myString1 = "Welcome"; // metodo Add myArrayList.Add(myString0); myArrayList.Add(myString1); // ricavare dati da un ArrayList // stampa solo degli oggetti di tipo stringa contenuti in un ArrayList //attraverso costrutto for/each foreach (object obj in myArrayList) { if (obj.GetType() == typeof(string)) { Console.WriteLine (obj.ToString()); Console.WriteLine("----"); } } // proprietà Count restituisce il numero degli elementi contenuti dalla collezione, iniziando da 0 restuisce // sempre il numero degli elementi +1 int nEleArrayList = myArrayList.Count; Console.WriteLine (nEleArrayList); // metodo Remove -> rimuovere elementi di un ArrayList // per nome myArrayList.Remove(alfabetoInArray); // per posizione myArrayList.RemoveAt(1); // ora il numero degli elementi contenuti nell'ArrayList è diminuito nEleArrayList = myArrayList.Count; Console.WriteLine (nEleArrayList); Console.WriteLine("Premi un tasto per terminare"); Console.ReadLine(); } } Warning: include(ads/text468x15.html): failed to open stream: No such file or directory in D:\inetpub\webs\fishscriptcom\documents\view_document.php on line 131 Warning: include(): Failed opening 'ads/text468x15.html' for inclusion (include_path='.;C:\php\pear') in D:\inetpub\webs\fishscriptcom\documents\view_document.php on line 131 Tutorial ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Script ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Esercizi ![]() ![]() ![]() Comandi ![]() ![]() ![]() |
Cerca
C#...
Info:
Il tipo di dato System.Decimal
A good scientist is a person with original ideas.
A good engineer is a person who makes a design that works with as few original ideas as possible. There are no prima donnas in engineering. Freeman Dyson A good scientist is a person with original ideas.
A good engineer is a person who makes a design that works with as few original ideas as possible. There are no prima donnas in engineering. Freeman Dyson
C#...
Info:
Il rilascio della prima versione di c#
C#...
Definizioni:
Namespace
Oracle...
Definizioni:
SCN
Shell scripting...
Script:
Shell script automating oracle data pump schema export
fishScript.Com is accessible by Mobile access technology
as mobile phones, Palm and Pocket PC .
Nicoleta e Marco Magnani tutorial, examples, courses, esempi, corsi, esercizi, appunti vari Dottoressa Nicoleta Dragu Formatrice Docente Insegnante Mediatrice Culturale Dott. Marco Magnani Universita La Sapienza Roma Master Computer Science Hunter College New York , Data Base Administrator DBA oracle System architect |