@Include
The Include([Path]) tag lets you implement file content from another template file. This means that you can place template parts in a separate file and include it in different templates.
Examples
The following example illustrates how to use an Include tag to implement content from another template:
@Include("Footer.cshtml")
It is also possible to refer to other directories as well, as shown in the following:
@Include("Includes/Footer.cshtml")
In HTML
<!--@Include(../Includes/Footer.html)-->