I came across a tutorial on Full Stack .Net Web Development and I've never seen the use of the dot operator is this way for C# as of yet. Can someone explain what it means in regards to why don't the statements end in semicolons and also do the statements belong to a specific object?
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
namespace MyApi
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory())
.UseIISIntegration()
.UseStartup<Startup>()
.Build();
host.Run();
}
}
}