Can you declare an array of mixed Types?
Answer / kris
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 ? | 5 Yes | 17 No |
IS Array list is generic or non generic
how to get the table names via c sharp and column names also?
working with arrays
Automatically Hyperlink URLs and E-Mail Addresses in ASP.NET Pages with C#
Coding for using Nullable Types in C#?
"c sharp" code for factorial using static variables
how can i split sting in textbox in windows application using c# .net
How to use ASP.NET 2.0's TreeView to Display Hierarchical Data?
. Write a program to print the following outputs using for loops $ $ $ $ $ $ $ $ $ $ $ $ $ $ $
Write a program to convert postfix expression to infix expression.
how to change password in .net with c # with ado.net and also SQL server 2008 change password
Can you declare an array of mixed Types?