Interview
    C#
    VB.Net
    VC++
    ASP.Net
    ADO.Net
    .Net Framework
    Silverlight
    WPF(Windows Presentation Foundation)/XAML
    WCF(Windows Communication Foundation)
    Java
    PHP
    AJAX
    Assembly
    XML
    Wireless/Mobile Development
    Cold Fusion
    MSSQL Server 2000/2005/2008/2012
    MYSQL
    DB2
    MS Access
    Java Script
    VB Script
    JQuery
    Testing
    BlackBox Testing
    WhiteBox Testing
    OOPS
    SharePoint
    ASP.NET MVC
    HTML5
    CSS/CSS3
    IIS 7
    Windows 8
    Google API
    Facebook API
    Twitter API
    Android Programming
    iPhone/iPad Programming
    Windows Phone Programming
    Json
Follow Us
Follow _MindStick_ on Twitter View MindStick Software's LinkedIn profile View MindStick Software's Facebook profile
Advertisement
Advertise with Us
Mindstick
Article Article  Forum Forum  Blog Blog  Quiz Quiz  Beginner Beginner  Careers Careers  Contact Contact  Login Login  
Home | Product | Services | About Us | Interview | DeveloperSection | Submit Question | Search 
Report Abuse Form
Reason:    
 
Interview
Home >> VC++ >> Can we store multiple data types in System.Array?

Can we store multiple data types in System.Array?

Posted By Uttam Misra on 10/29/2010
Views: 2155
Major Category: .Net
Sub Category: VC++
Total Answer 2
User Information Answer
• Amit Singh
Posted Date 10/30/2010
No, we can not store multiple data types in System.Array

Reason:
System.Array store only similar type of data for example integer type defined array store only int type data.
it is type safe.

we use collection object like ArrayList etc for storing multiple type of data


Report Abuse

Rajesh Goswami
Posted Date 11/8/2010
Yes you can, if you have an object array. since System.Object is the base class of all other types, an item in an array of Objects can have a reference to any other type of object.

Report Abuse

Report Abuse Form
Reason:    
 
Total Online Users: 2746
Advertisement
MindStick SurveyManager
Advertise with Us
  
Copyright © 2013MindStick. All Rights Reserved.