Can you store multiple data types in System.Array?
Answer Posted / michael
No you can't ArrayList stores object. So if you use something like this
ArrayList arr = new ArrayList();
arr.Add(56);
arr.Add("ASDf");
you are still storing objects, 56 is object, ASDf is an object
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is xor operation?
what will be the output of the given below coding. using System; public class Exercise { static void OddNumbers(int a) { if (a >= 1) { Console.Write("{0}, ", a); a -= 2; OddNumbers(a); } } public static int Main() { const int Number = 9; Console.WriteLine("Odd Numbers"); OddNumbers(Number); Console.WriteLine(); return 0; } }
What is the and operator in c#?
What is scaffolding in c#?
Is ram a heap?
Can you call from an inherited constructor to a specific base constructor if both base class and an inheriting class has a number of overloaded constructors?
What are immutable types in c#?
What is the difference between a variable and a literal?
What is the difference between double and decimal in c#?
What is meant by desktop application?
What is method and function in c#?
Is python easier than c#?
What is ildasm and obfuscator in net?
There were a lot of questions asked, so I will list the topic (and add a what is "topic" and know pros/cons). Extreme programming, what is a transaction, various SDLC design approaches, what is a namespace, define a good test case, what is a stored proc, webservice? design patterns? linker? compiler? access modifiers? stack vs. queue? arrays vs. linked lists? sorting algorithms? recursion? OOP principles?
What is an arraylist in c#?