C# Dilinde Tip Dönüşümleri

Photo by Suzanne D. Williams on Unsplash

Implicit Dönüşümler

int integerValue = 42;
long longValue = integerValue;

Explicit Dönüşümler

long longValue = 42;
int intValue = (int) longValue;

Kullanım Senaryosu





var software = ConvertFrom(caffeine)

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adem Catamak

Adem Catamak

var software = ConvertFrom(caffeine)

More from Medium

View Components in ASP.NET Core

Creating a GraphQl backend in c# — How to get started with Hot Chocolate 12 in .Net 6

Explaining Clean Architecture In .Net Core (Breakdown & Example)

C#: How to set the current year as maximum with data annotations