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 input an integer and - display the reverse - display the sum of each digit - should include logic that considers the input number as any number of digits long
Can you declare an array of mixed Types?
Write a program to convert postfix expression to infix expression.
program to reverse the order of words in a string.
how to get the table names via c sharp and column names also?
"c sharp" code for factorial using static variables
how can i split sting in textbox in windows application using c# .net
How to add a value from textBox over an existing certain column in SQL Server
How to export 2 datatables of a single dataset to 2 different worksheets of a single MSExcel file ?
How to Create a Treeview Menu in ASP.NET with C#?
how do i copy textbox contents of 1 form to another form
Write a program to count 3Letter, 4Letter and 5Letter words from a file and print the number of 3Letter, 4Letter and 5Letter words. Delimiter is space, tab, hifen. Also we should not consider the line in the file after we encounter # in that line.