C# 7 Series, Part 8: “in” Parameters

January 08, 2018
  676
C# 7 Series, Part 8: “in” Parameters
By default, method arguments are passed by value. That is, arguments are copied and passed into the method. Therefore, modification to the argument inside the method body does not affect the original value. In most of the cases, modifications are unnecessary. Other programming languages, such as C++, has a const parameter or similar concept: This indicates that the parameter inside the method body is a constant that cannot be reassigned. It helps to avoid mistakes where you unintentionally reassign a method parameter in the body, and improves the performance by disallowing the unnecessary assignments. C# 7.2 introduces the in parameter (aka. readonly ref parameter.) A method parameter with in modifier means that this parameter is by ref and read only within the method body.

Hot Vacancies

Middle Backend Developer .NET Core, ASP.NET

IT Company Adraba
.NET Core This week

We are looking for middle Backend Developer .NET Core, ASP.NET for an exellent, stable project (online trading platform/CRM).

Senior .Net/C# Developer for IoT project

European product company
.NET Core This week

On behalf of our client, Simple Step Recruiters is looking for Senior.Net/C# developer to join fast growing team of European product company in Kiev. The company is a leading developer of industrial IoT solutions to track people and objects or transport sensor data, using mesh network technologies in Norway.

Middle and Senior .NET developers

SBTech
.NET Core

We a looking for Middle and Senior .Net developers for our unit Wallet which specializes in developing accounting system implemented as a family of microservices from scratch.

Senior Full Stack (.NET Engineer), Medical Appointment Scheduling Service

DataArt
.NET Core

There are several projects that DataArt’s specialists will work on. One of them is to improve the platform’s performance and expand its features. The other is to attract new users, set up SSO authentication through a social network, and improve SEO. These projects are implemented on React, Redux, GQL, and AWS.

Junior Full Stack Developer

Edev LLC
.NET Core

Edev LLC is a Ukrainian Software company which makes part of an Italian holding and carries out projects for Elfo S.r.l. Being a Microsoft partner, our holding is specialized in development of international Web-based applications. Today we have offices in Italy and Ukraine and serve customers all over the world. We are looking for a Junior Full Stack Developer for inserting into our Kiev Team.

View all vacancies.