C
C
CityzenUNDEAD2020-06-12 17:33:39
C++ / C#
CityzenUNDEAD, 2020-06-12 17:33:39

What does symbol : mean in c#?

Hello everyone! I just started learning c#, I watch all sorts of workshops, I read articles on this topic. I came across this code

public Point(string name)
            : this(300, 400)

Can you please tell me what the colon symbol means in this section of code?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Korotenko, 2020-06-12
@CityzenUNDEAD

Calling another constructor in this case, or declaring inherited interface classes

T
Timur Pokrovsky, 2020-06-12
@Makaroshka007

https://docs.microsoft.com/en-us/dotnet/csharp/pro...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question