tagged [arrays]
Difference between the System.Array.CopyTo() and System.Array.Clone()
Difference between the System.Array.CopyTo() and System.Array.Clone() What’s the difference between the `System.Array.CopyTo()` and `System.Array.Clone()`?
Array versus List<T>: When to use which?
Array versus List: When to use which? What are the scenarios when one is preferable over the other? And why?
Simple way to convert datarow array to datatable
Simple way to convert datarow array to datatable I want to convert a `DataRow` array into `DataTable` ... What is the simplest way to do this?
Find the 2nd largest element in an array with minimum number of comparisons
Find the 2nd largest element in an array with minimum number of comparisons For an array of size N, what is the number of comparisons required?
Converting char[] to byte[]
Converting char[] to byte[] I would like to convert a character array to a byte array in Java. What methods exists for making this conversion?
- Modified
- 28 Jan at 20:22
C# What is the difference between byte[] and char[]
C# What is the difference between byte[] and char[] What is the difference between byte[] and char[]? Differentiate more from usage perspective. Can they be used interchangeably?
How do I create a heterogeneous Array in Scala?
How do I create a heterogeneous Array in Scala? In javascript, we can do: What is the Scala equivalent?
How do I convert a Stream into a byte[] in C#?
How do I convert a Stream into a byte[] in C#? Is there a simple way or method to convert a `Stream` into a `byte[]` in C#?
- Modified
- 28 Apr at 23:16
How to quickly retrieve tags in array from string?
How to quickly retrieve tags in array from string? I need to place the data into an array (). What is a (stripping html, special chars)?
- Modified
- 21 Jul at 23:8
Convert integer into byte array (Java)
Convert integer into byte array (Java) what's a fast way to convert an `Integer` into a `Byte Array`? e.g. `0xAABBCCDD => {AA, BB, CC, DD}`
How many elements are full in a C array
How many elements are full in a C array If you have an array in C, how can you find out how much of it is filled?
How can I check if an array index is out of range?
How can I check if an array index is out of range? How can I check if an array index is out of range? Or prevent it happening.
How do you convert a byte array to a hexadecimal string, and vice versa?
How do you convert a byte array to a hexadecimal string, and vice versa? How can you convert a byte array to a hexadecimal string and vice versa?
Safe element of array access
Safe element of array access What is the safe method to access an array element, without throwing `IndexOutOfRangeException`, something like `TryParse`, `TryRead`, using extension methods or LINQ?
Javascript swap array elements
Javascript swap array elements Is there any simpler way to swap two elements in an array?
- Modified
- 16 May at 12:10
How do I work with dynamic multi-dimensional arrays in C?
How do I work with dynamic multi-dimensional arrays in C? Does someone know how I can use dynamically allocated multi-dimensional arrays using C? Is that possible?
Send to c# Array Objects from Flex
Send to c# Array Objects from Flex I need to send to c# an array of objects from Flex. Anybody know how can I do this?
- Modified
- 11 Nov at 10:0
Removing duplicate values from a PowerShell array
Removing duplicate values from a PowerShell array How can I remove duplicates from a PowerShell array?
- Modified
- 6 Mar at 07:59
Thread safety in C# arrays
Thread safety in C# arrays Does having 2 different threads : - - is thread safe or not? (And I mean here without locking reading nor writing)
- Modified
- 9 May at 19:38
convert Decimal array to Double array
convert Decimal array to Double array What's an efficient and hopefully elegant incantation to convert `decimal[]` to `double[]`? I'm working with some fairly large arrays.
How do I check if a variable is an array in JavaScript?
How do I check if a variable is an array in JavaScript? How do I check if a variable is an array in JavaScript?
- Modified
- 10 Apr at 12:59
How to put a Scanner input into an array... for example a couple of numbers
How to put a Scanner input into an array... for example a couple of numbers
- Modified
- 10 Jul at 00:12
How to map/collect with index in Ruby?
How to map/collect with index in Ruby? What is the easiest way to convert to
Convert an array to string
Convert an array to string How do I make this output to a string?
Array that can be resized fast
Array that can be resized fast I'm looking for a kind of array data-type that can easily have items added, without a performance hit. - `Redim Preserve`- -
- Modified
- 7 Feb at 19:0