Back
Theme:

C# namespace


Now in the C# namespace, can we use a different way?

namespace class {
	c# code ...
}
Date: Monday, February 6, 2023
1 answers | 134 view(s)
by Mauricio Junior

Answers

Yes, we can use like that...

namespace class;

public class {
	code...
}

It's not necessary to use the { } after the namespace.

Monday, February 6, 2023

Mauricio Junior


Curso de HTML na prática