1. About.com
  2. Computing & Technology
  3. C / C++ / C#

Discuss in my forum

Definition of Method

By , About.com Guide

Filed In:
  1. Glossary
  2. > M
Definition: A method is a function that belongs to a class in C++ and C#. All objects have methods.

Glossary:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Also Known As: a Member Function
Examples:
I added a cleanup method to my resource handling class.
Glossary of Common Programming Terms and Phrases - "M"

©2012 About.com. All rights reserved. 

A part of The New York Times Company.