[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CSharpMethod
Special methods are:
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CSharpMethod
(C#) Method
A function a class can do. Therefore it is sometimes called a 'member function'.Special methods are:
- the constructor (and copy constructor)
- the destructor
- the dispose method
- etc.
using System;
using System.Collections.Generic;
using System.Text;
namespace CreateClass
{
class Gossip
{
public void SayHello()
{
Console.WriteLine("Hello!");
}
}
}
'Method' links
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
