9
I was editing a source code for an application I’m writing in C#, which uses GTK+.
I have some knowledge of C#, but did not understand why some variables were written when I mounted the UI in "drag and drop" with the global::
before the names.
See the code snippet:
private Gtk.VBox vbox2;
private global::Gtk.VBox vbox3;
private global::Gtk.Label tituloLogin;
private global::Gtk.Entry entry1;
private global::Gtk.Entry entry2;
What’s this one for global::
? What does it mean?
A tip, beware of spacing in sentences, 4 spaces the site automatically formats as code.
– user28595
Aaaaah thank you! I’ve had trouble with that again
– Artur Trapp
Only complementing, the equivalent in VB.NET would be
Global.System.Console.WriteLine()
.– vinibrsl