nqubekoshabalala77 nqubekoshabalala77
  • 17-12-2020
  • Computers and Technology
contestada

how to create a structure using c# programming

Respuesta :

asarwar
asarwar asarwar
  • 17-12-2020

Answer:

The answer to this question is given in the explanation section.

Explanation:

C# uses the struct keyword to declare structure.

The are used to store related data item.

For example the record of Student i-e his name, father name, address and class no can be declared using structure

using system

struct Student {

  public string name;

  public string father_name;

  public string address;

  public int class_no;

};

Answer Link

Otras preguntas

Why was the calendar important for the Maya religion?
The weather forecast states that the temperature will be lower than –5°F tonight. Let t represent the temperature in degrees Fahrenheit. Which inequality models
what fraction of a pond is 70 pence
What is Triangular Trade?
x^2 - 5x - 66 = 0 Factor and solve
Please help me with this question please!! Steven is taxed 1/3 of his weekly wages. He saved 1/8 of what is left over. He saves $40 every week. How much does he
Mahmoud II biography
the process that creates new identical daughter cells
What event finally unleashed World War II?
A 5.0-kilogram sphere, starting from rest, falls freely 22 meters in 3.0 seconds near the surface of a planet. Compared to the acceleration due to gravity near