Hi MTUser2015,
The simple data type can be of type int, float, bool, and char.
Float is the same as a double (a decimal), whereas int is the same as well as bool and char.
Hope that helps.
Note: a parameter is a value that is passed in another function. E.g.
void hi(String name) {
Print(name);
}
You can see it is a parameter because it is passing the variable "name" into the hi function.
You could have this instead:
void hi() {
String name = "Bobby";
Print(name);
}
This does not use any parameters.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I got a sample from official website, the sample is pretty good. but every parameter of C# method is simple type, it is not a struct or class.
so some methods have many parameters, it looks not good. i am trying to pass a class object as a parameter to a C# method, but still do not
know how to do it and need help.
thanks for any tips or sample code.