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

Which statement is true? a. (p2)5= p3 b. (p2)5= p7 c. (p2)5= p10 d. (p2)5= p25
when a reader does not understand a detail of a story the best approach for understanding is to
Two lines are parallel. The equation of the first line is y = –3x + 5. Which of the following cannot be the equation of the second line? a. y = –3x + 2 b. x –
We need to urge our city planners to say goodbye to the urban sprawl that has engulfed our nation like a tidal wave in the last few decades, and instead build
Margarita / menos / ser / Julieta y Mateo / que / alto
The equation of line CD is (y−3) = − 2 (x − 4). What is the slope of a line perpendicular to line CD? a. 1 over 2 b. 2 c. negative 1 over 2 d. −2
Find the area of a circle circumscribed about an equilateral triangle whose side is 18 inches long. a. 81 b. 108 c. 243
what multiplys to 40 and adds to -13
what multiplys to 40 and adds to -13
Knight is an example of an Anglicized word. a. True b. False