Author Archives: Prasad Raveendran

ASP.NET Core razor components
18 Apr

ASP.NET Core razor components

ASP.NET Core razor components In this article we are going to discuss on creating effective and reusable asp.net core razor components. Requesting you to review my previous articles on Blazor Blazor Overview Blazor Project Structure Components are the building blocks of a blazor application. Razor components can be nested, reused, and if implemented properly, can […]

read more »
C# 7.0 – Tuples
11 Apr

C# 7.0 – Tuples

Tuples are not completely new in C# 7.0. In .NET Framework 4.0, a set of Tuple classes has been introduced in the System.Tuple namespace. If you want to return more than one value from a method then you need to use Tuples. Besides, in the programming world, it is a very common thing to return multiple values from a method. Tuples in C# 7.0 provides a better mechanism to return multiple values from a method.

read more »
C# 7.0 -Ref Return and Ref Local
11 Apr

C# 7.0 -Ref Return and Ref Local

C# 7.0 introduces ref returns and ref locals. The main goal of these new features is to make it easier for developers to pass around references to value types instead of copies of their values. This is important when working with large data structures that are implemented as value types. C# allows passing parameters by reference, but a method was not able to return a reference. This has been changed with C# version 7.0.

read more »