{"id":85,"date":"2016-02-12T13:18:43","date_gmt":"2016-02-12T13:18:43","guid":{"rendered":"https:\/\/ibex.tech\/csharp\/?p=85"},"modified":"2022-02-17T06:24:15","modified_gmt":"2022-02-17T06:24:15","slug":"methods-in-classes","status":"publish","type":"post","link":"https:\/\/ibex.tech\/csharp\/c-sharp\/classes\/methods-in-classes","title":{"rendered":"Methods In Classes"},"content":{"rendered":"<p>\n\t&nbsp;\n<\/p>\n<pre>\r\n<code>\r\n    public void MyMethodName(int MyVariable1)\r\n    {\r\n\r\n    }\r\n<\/code><\/pre>\n<pre>\r\n<code>\r\n    &lt;Access Specifier&gt; &lt;Return Type&gt; &lt;Method Name&gt;(Parameter List)\r\n    {\r\n       Method Body\r\n    }\r\n<\/code><\/pre>\n<p>\n\tAccess Specifier\n<\/p>\n<p style=\"margin-left: 40px;\">\n\tDetermines the visibility of a variable or a method from another class.<br \/>\n\t&#39;public&#39; to allow it to be called outside of the class\n<\/p>\n<p>\n\t&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; public void MyMethodName(int MyVariable1) { } &lt;Access Specifier&gt; &lt;Return Type&gt; &lt;Method Name&gt;(Parameter List) { Method Body } Access Specifier Determines the visibility of a variable or a method from another class. &#39;public&#39; to allow it to be called outside of the class &nbsp;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[],"class_list":["post-85","post","type-post","status-publish","format-standard","hentry","category-classes"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/85","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/comments?post=85"}],"version-history":[{"count":2,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/85\/revisions"}],"predecessor-version":[{"id":330,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/85\/revisions\/330"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/media?parent=85"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/categories?post=85"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/tags?post=85"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}