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

Can someone help me with these ? Thanks so much
Submission for the FSC short story made by me: Nathan Valentine credit: leah22774 Run Katie run! They will kill you! Kate held her stuffed bear to her chest as
What is the relationship between photosynthesis and cellular respiration in plants? YOU WILL GWT 18 POINTS!!!!!!!!
Which of the following is a Halogen?
How did cherry size ponyboy
Gordon types 3,528 words in 49 minutes. Find the unit rate.
Using the gross method of recording sales, what sales price should be recorded when an item with an $1,100 list price is sold with a 15% trade discount? The sal
What is the main reason why the climate is changing? (I NEED THIS ASAP)
Which benefits do members of Congress enjoy? Choose all answers that are correct. Members of Congress receive free office space, parking, and trips to their hom
what is 4.6 rounded ? what is 0.5 rounded? what is 4.5 rounded? what is 5.5 rounded? what is 0.6 rounded?