C# Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 191 Page Views: 

What would be the type of variable x? var x = new int[] {4,5,6};



Posted By: Avi Date: 14 October 2010 12:20:46 AM
 Answer:

System.Int32[]


Posted By: avibtech


Date: 14 October 2010 12:20:46 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image 1QGLIE
Related Questions
C# : Can you define more than one class in one file?

Can you define more than one class in one file?

Yes
Category: C# Date: 10/13/2010 12:31:14 PM
C# : How can you list methods of given object?

How can you list methods of given object?

Type t = typeof(o); System.Reflection.MethodInfo[] methodInfo = t.GetMethods();
Category: C# Date: 10/13/2010 12:00:14 PM
C# : How do you create Anonymous Type give example

How do you create Anonymous Type give example

var c = new { Amount = 20, Price = 1.2 };
Category: C# Date: 10/13/2010 11:36:31 AM
C# : Can you query dictionary<int, int> using LINQ?

Can you query dictionary using LINQ?

No
Category: C# Date: 10/13/2010 11:05:47 AM
C# : How do you create a copy constructor?

How do you create a copy constructor?

public class Sample { Public Sample(Sample t) {/* copy constructor */}}
Category: C# Date: 10/13/2010 10:55:46 AM