Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
Search the Tips

Arrays - Page 2

21-40 of 97     Previous     Next
Accept Multiple Arrays as Parameters
by Leng Dieb
This routine accepts multiple arrays as parameters.
Pass a Multi-dimensional Array to a Routine
by Leng Dieb
This code snippet demonstrates how to pass a multi-dimensional array to a routine in .NET.
Two Methods to Remove Duplicates in an ArrayList
by Vijayanandraj Amaladoss
Here are two methods that remove duplicates in an ArrayList.
Check for Duplicates in an ArrayList
by Vijayanandraj Amaladoss
Use this simple method to check for duplicates in an ArrayList.
All About Arrays
by Wael Salman
Getting the Length and Dimensions of an Array Object
by Amit Vij
Two-dimensional Arrays
by Wael Salman
Inserting Elements into Arrays
by Wael Salman
The Enhanced For Loop
by M.Fahim Zahid
Listing Files in a Directory with Perl
by Matt Crinklaw
SortedListFromHashtables - Creating a sorted list that combines the keys from 2 hashtables
by Francesco Balena
Create a case-insensitive sorted list that combines the keys from two hashtables Example: Dim slist As SortedList = SortedListFromHashtables(hashTable1, hashTable2)
Remove an Element in a Sorted Array
by
Remove an Element in a Sorted Array
ArrayCountOccurrences - Count the occurrences of a string within the input array
by Marco Bellinaso
Return the number of occurrences found in the input array, with the specified search options Example: Dim arr As String() = {"this is a string for my test", "test number 2", "another String", "do you like this string?", "I like running tests"} Debug.WriteLine("Number of occurrences for ...
ArrayIndexOf - An extended version of Array.IndexOf
by Marco Bellinaso
An extended version of Array.IndexOf, with more options for string searches. The function returns the index of the found element, or -1 if no element is found Example: Dim arr As String() = {"this is a string for my test", "test number 2", "another String", "do you like this string?", "I like ...
ArrayLastIndexOf - An extended version of Array.LastIndexOf
by Marco Bellinaso
An extended version of Array.LastIndexOf, with more options for string searches. The function returns the index of the found element, or -1 if no element is found Example: Dim arr As String() = {"this is a string for my test", "test number 2", "another String", "do you like this string?", "I ...
ArrayListMerge - Merging two ArrayList avoiding duplicate values
by Marco Bellinaso
Merge two ArrayList, avoiding duplicate values (if there are already duplicate values in same input ArrayList however, they are not discarded) Example: Dim al1 As New ArrayList al1.Add("John") al1.Add("Ann") al1.Add("Frank") Dim al2 As New ArrayList al2.Add("Ann") al2.Add("Tony") al2.
ArrayShuffle - Shuffling the elements of an array of any type
by Francesco Balena
Example: Dim arr As Integer() = {3, 7, 8, 2, 0, 9} ArrayShuffle(arr) Dim o As Object For Each o In arr Debug.Write(o & " ") Next Debug.WriteLine("")
Create a Statically Initialized List of Objects
by Robert Patterson
Copy One Array to Another Without Using Loops or Conditions
by Elayaraja David
ArraySum - The sum of an array of any numeric type
by Marco Bellinaso
The sum of an array of any numeric type Example: Dim arr As Integer() = {3, 7, 8, 2, 0, 9} MessageBox.Show(ArraySum(arr))
21-40 of 97     Previous     Next
Sitemap