0
What is is called
What is it called when you are coding a game and you use like bowling.game and things that import code without actually displaying the code, if that makes sense
3 ответов
+ 1
can you give an example?
0
you are probably working with C # or some other object oriented language, in this case, . is used to indicate references to some method or attribute within an instantiated class, that is, when you are trying to call a function (sum) in the class (calculator) and you instantiated the object (var) of the class, you call the function as "var.sum()", this also applies to variables within the class
Now, if you are referring to imported libraries, the . also serves to specify classes of namespaces
For example, in C #:
Using System;
It serves to transform this:
System.Console.WriteLine ("Hello World");
In that:
Console.WriteLine ("Hello World");
I hope I have clarified your doubt
0
yes thank you