3
Answers

Insert new data into the array and Delete data from the array

Sarah Thomson

Sarah Thomson

12y
3.3k
1
 

Write a  C# program that inserts a new entered data into the array and deletes an existing data from the array. Insertion must be in ordered by name, if the names are the same, the record must be ordered according to surname.

   

   For example:

 

                                                            After inserting "Ali Tarak"                            After Deleting "Ahmet Tas" 

Name

Surname

 

Name

Surname

 

Name

Surname

Ahmet

Tas

 

Ahmet

Tas

 

Ali

Kaya

Ali

Kaya

 

Ali

Kaya

 

Ali

Tarak

Ali

Yilmaz

 

Ali

Tarak

 

Ali

Yilmaz

Derya

Birant

 

Ali

Yilmaz

 

Derya

Birant

Zeynep

Ak

 

Derya

Birant

 

Zeynep

Ak

 

 

 

Zeynep

Ak

 

 

 

Answers (3)
Next Recommended Forum