ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Code Snippets  >>  Programming Code  >>  Dot Net Code  >>  C Sharp Code
 
 


 

 
 ASP.NET Code interview questions  ASP.NET Code Interview Questions
 VB.NET Code interview questions  VB.NET Code Interview Questions
 C Sharp Code interview questions  C Sharp Code Interview Questions
 ADO.NET Code interview questions  ADO.NET Code Interview Questions
Question
Can you declare an array of mixed Types?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Can you declare an array of mixed Types?
Answer
# 1
public struct FormStruct
{

public string Name ;
public string Address;
public int Phone;

}
class Program
{

static void Main(string[] args)
{

FormStruct home;
home.Name = "xyz";
home.Address= "blabla";
home.Phone= 9955511122;

}

}
 
Is This Answer Correct ?    2 Yes 8 No
Kris
 

 
 
 
Other C Sharp Code Interview Questions
 
  Question Asked @ Answers
 
"c sharp" code for factorial using static variables  5
Coding for using Nullable Types in C#?  1
Coding for Manipulate XML File Data Using C#?  1
working with arrays  1
Automatically Hyperlink URLs and E-Mail Addresses in ASP.NET Pages with C#  1
how do i copy textbox contents of 1 form to another form Wipro2
Code for Working with Files under a Directory?  1
How to Create a Treeview Menu in ASP.NET with C#?  1
Event Handling in C# Triggering a Button  1
Code for Reading and writing from a file in c#?  1
How to use ASP.NET 2.0's TreeView to Display Hierarchical Data?  1
Can you declare an array of mixed Types?  1
How to Create Files by Using the FileInfo Class?  1
 
For more C Sharp Code Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com