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 |
Write a program to count the number of characters, number of words, number of line in file.
how does the below eqation proceed to be solved: x*=y+z options: x=x*y+z or x=x*(y+z)
How to Create a Treeview Menu in ASP.NET with C#?
c# code to Count number of 1's in a given range of integer (0 to n)
program for addition of fraction(M/N + P/Q = Y/Z)
Write a program to convert postfix expression to infix expression.
How to pass multiple rows from one gridview to another gridview after clicking the checkbox.
c# coding for a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors not using the Big-integer and Exponential Function's.
. Write a program to print the following outputs using for loops $ $ $ $ $ $ $ $ $ $ $ $ $ $ $
Can you declare an array of mixed Types?
How to Link Different Data Sources Together?
How to Create Files by Using the FileInfo Class?