No announcements
Found 638304 threads
• 0 Votes

### Sheet index numbers used in an array of sheets

The really best way to reference worksheets without worry about their name changing is to have an array of the worksheet CODENAMEs and then associate each codename with a enumerator.
| 2 Replies | 2388 Views | Created by Russman1981 - Friday, December 7, 2012 3:48 PM | Last reply by Syswizard - Sunday, December 9, 2012 2:54 PM
• 6 Votes

### adding, average and how many numbers in an array

The number of items in an array is reported by  Array.getItemCount(name_of_array) .
| 14 Replies | 1077 Views | Created by iHatePrograming - Sunday, November 1, 2015 12:51 AM | Last reply by WhTurner33 - Sunday, November 1, 2015 6:58 PM
• 0 Votes

### Find the n amount of highest numbers in a double array

Rest is up to you to figure out how to modify the below approach for finding n numbers of maximum value from an array.
| 6 Replies | 532 Views | Created by StarkDemise - Wednesday, May 16, 2018 1:46 AM | Last reply by Sabah Shariq - Monday, May 21, 2018 9:39 PM
• 0 Votes

### Find duplicate random numbers in an array and replace with new random number?

If there are 40 numbers in the list, pick a number "n" from 0 through 39 and your first number will be the nth item in the list, remove that item from the list and ...
| 7 Replies | 2575 Views | Created by gLand - Thursday, February 9, 2012 1:55 AM | Last reply by gLand - Thursday, February 9, 2012 6:30 PM
• 0 Votes

### How to convert an array of decimals to an array of binary numbers?

Array i have is int array{9} = { 2 ,2, 10 , 3 , 1, 15, 12, 6 ,1}; I am trying to covert it into an array of binary, which ...
| 6 Replies | 655 Views | Created by AJTHK - Monday, February 8, 2016 10:39 AM | Last reply by WayneAKing - Monday, February 8, 2016 1:05 PM
• 0 Votes

### C# Descending All numbers in Array except the number at Index 0?

int[] array = { 15, 5, 3, 4, 1, 6, 7, 8, 2, 10 }; Array.Sort(array, 1, array.Length-1); would result in : {15 , 1, ...
| 3 Replies | 826 Views | Created by a.qadeer1994 - Thursday, February 4, 2016 6:16 PM | Last reply by a.qadeer1994 - Friday, February 5, 2016 4:17 PM
• 0 Votes

### Is there any way to determine the number of arrays that a "Split" creates?

To get the length you use .Length property: string text = "Hello,world,i'm,good"; int length = text.Split(',').Length; Note that length is 4 not 3. 4 is ...
| 3 Replies | 772 Views | Created by PSULionRP - Thursday, December 5, 2013 11:57 PM | Last reply by Dzunisani - Friday, December 6, 2013 6:04 AM
• 0 Votes

### Web Service multiple value arrays output doesn't match expected

Are you passing the right number of columns and column names.
| 4 Replies | 531 Views | Created by rymoff - Tuesday, April 26, 2016 8:14 PM | Last reply by Jaya Mathew - Thursday, April 28, 2016 3:09 PM
• 6 Votes

### How to find the Mode of an array of numbers

Don't forget that a set of numbers may have more than one value for the mode.
| 17 Replies | 12764 Views | Created by Lemmy Winks - Thursday, May 6, 2010 10:26 PM | Last reply by Sosa F - Friday, October 12, 2012 9:10 PM
• 1 Votes

### Arrays and Pointers

>For example, class A will be a "Number Class" with an array of numbers 1 >to 10.
| 4 Replies | 2526 Views | Created by DanCoelho - Wednesday, March 28, 2012 3:18 PM | Last reply by CSTech - Wednesday, April 4, 2012 12:38 AM
• 3 Votes

### Read Array

Regex is good for pattern matching but structural parsing requires a real parser.
| 8 Replies | 501 Views | Created by Jos Vink - Monday, July 28, 2014 1:48 PM | Last reply by Joel Engineer - Wednesday, July 30, 2014 5:34 AM
• 2 Votes

### Search Two Arrays and Write the Matches to a txt file

Now to get the matches outputted. :) Again, thanks for all the help.
| 16 Replies | 2347 Views | Created by CoronersDisciple - Tuesday, August 30, 2011 9:36 PM | Last reply by CoronersDisciple - Thursday, September 1, 2011 7:24 PM
• 0 Votes

### Visual Basic count the number of values in an array?

Hello, Example 1, get unique numbers in a TextBox.
| 9 Replies | 2445 Views | Created by jbrotto - Sunday, January 12, 2020 5:05 AM | Last reply by Xingyu Zhao - Tuesday, January 21, 2020 9:45 AM
• 1 Votes

### how to return number of record per match criteria

What I need to return is also the number of records which match each of those LIKE operator.
| 2 Replies | 710 Views | Created by wakefun - Tuesday, September 10, 2019 11:25 AM | Last reply by Olaf Helper - Tuesday, September 10, 2019 11:38 AM
• 2 Votes

### Adding numbers together inside an array

If listbox items are loaded with strings of numbers then  OfType<int>().Sum() won't give the result.
| 3 Replies | 1976 Views | Created by wozencroft_59 - Wednesday, October 10, 2012 3:01 PM | Last reply by MithileshDubey - Wednesday, October 10, 2012 10:10 PM
• 0 Votes

### array

Match the error message with the correct line and show us that line and its context.
| 42 Replies | 4655 Views | Created by Eduard77 - Monday, January 17, 2011 1:10 AM | Last reply by Eduard77 - Thursday, January 20, 2011 4:37 PM
• 5 Votes

### Random number and array

Although your code could be fixed to work right, I would strongly recommend to use the .net Random class instead: Dim rand As New Random() r = ...
| 4 Replies | 2782 Views | Created by jdj05d - Sunday, October 26, 2008 9:55 PM | Last reply by JohnWein - Sunday, October 26, 2008 11:06 PM
• 0 Votes

### Length of array of array of array and design question

like below And create a indexer in each of the class so that you don't need to access like this ...
| 3 Replies | 2671 Views | Created by Agalo - Thursday, August 13, 2009 12:23 PM | Last reply by NareshG - Thursday, August 13, 2009 12:53 PM
• 1 Votes

### Arrays

You only use the for or while loop to print out the numbers in the array.
| 4 Replies | 1548 Views | Created by Newbie to C sharp - Thursday, June 7, 2012 12:46 AM | Last reply by Huy Nguyen Phu - Thursday, June 7, 2012 7:05 AM
• 0 Votes

### array

Length is the number of elements, thus three.
| 1 Replies | 660 Views | Created by SURYA KANT NAYAK - Sunday, November 9, 2014 10:29 AM | Last reply by Stefan Hoffmann - Sunday, November 9, 2014 1:26 PM
• < Previous Items 21 to 40 of 638304 Next ›
No announcements