Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace MyNamespace
- {
- public class MyClass
- {
- private string property;
- public string Attribute;
- public string Property
- {
- get { return property + " blah"; }
- set { property = value + " bluh"; }
- }
- public void Call(string param1, int param2, bool param3)
- {
- Console.WriteLine("Normal call");
- }
- public static void SCall(string param1, int param2, bool param3)
- {
- Console.WriteLine("Static call");
- }
- }
- }
- Attribute = "bla"; // results in Attribute == "bla"
- cout << Attribute; // results in output of e. g. "bla"
- Property = "bla"; // results in property = "bla blah";
- cout << Property; // results in output of e.g. "bla blah bluh"
Add Comment
Please, Sign In to add comment