In this tutorial, we will discuss the " View" and "Model" part from the MVC framework. As we already knew, a model class does not depend on the controller and view classes. Model class represents the data of the application. Public properties of model classes hold the data. All model classes reside in the Model folder. Let's see how to add a model class in MVC Project. Model Let's add a model class in the project MVCProject which we have created in my previous article ASP.NET MVC 5 (Part 1) .Right-click on the Models Folder and click Add->Class. In the Add New Item dialogue, Enter the class name "Student" and click the Add button. Add properties which will hold the student information. So, this is our model class. Let's discuss "View" part of the MVC . View A view is a user interface. view display data from the model classes to the user and also enable them to modify the data. MVC views resid
A linked list is a linear data structure just like arrays but its elements do not store in the contagious location. Elements in a linked list are connected through pointers as shown in the below image. Link list consists of nodes. Each node contains a data field and a pointer reference to the next node in the list. Important Points about the linked list A linked list can be used to store linear data of diffent type. Dynamic size. Ease of insertion and deletion of an element. Random access of an element is not allowed. if we want to search an element we have to go sequentially starting from the first node. Extra memory space would be required for the pointer with each element of a linked list. A linked list is represented by a pointer to the first node o the list. The first node called head.if the linked list is empty then the head is NULL. Let's start implementation of a simple linked list in C# I have created a project of the console application and named i