Geeks Talk

Prepare for your Next Interview




Operator Overloading

This is a discussion on Operator Overloading within the C# forums, part of the Software Development category; What is benefit of using Operator overloading in C, C++, c#?...


Go Back   Geeks Talk > Software Development > C#

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 05-13-2008
Junior Member
 
Join Date: May 2008
Location: Chennai, India
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
sivasubbu is on a distinguished road
Question Operator Overloading

What is benefit of using Operator overloading in C, C++, c#?
Reply With Quote
The Following User Says Thank You to sivasubbu For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 05-14-2008
Contributing Member
 
Join Date: May 2007
Location: bangalore
Posts: 65
Thanks: 3
Thanked 8 Times in 6 Posts
hari.nattuva is on a distinguished road
Re: Operator Overloading

Operator Overloading is for using the single operator for multiple operations.
Reply With Quote
  #3 (permalink)  
Old 07-04-2008
Junior Member
 
Join Date: Jul 2008
Location: Mathura (India)
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Jagbir Singh is on a distinguished road
Re: Operator Overloading

c# is the language based on oops methodology & this methodology is designed to save the resource used, time and minimise the errors. Operator overloading is one of the method fulfiling this purpose of oops.
Reply With Quote
  #4 (permalink)  
Old 07-17-2008
Junior Member
 
Join Date: Jul 2008
Location: Mumbai
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
sudhakarr.net is on a distinguished road
Re: Operator Overloading

Quote:
Originally Posted by sivasubbu View Post
What is benefit of using Operator overloading in C, C++, c#?
Operator overloading means one operator behaves different types
that means + is used for addition at the same time '+' this is also used for string
concatination........
Reply With Quote
  #5 (permalink)  
Old 07-26-2008
Junior Member
 
Join Date: Jul 2007
Location: Banglore
Posts: 24
Thanks: 6
Thanked 4 Times in 3 Posts
sowji_mca is on a distinguished road
Re: Operator Overloading

The main benefit of an operator overloading is extensiblity. An operator will act differently according to the given operands.
Reply With Quote
  #6 (permalink)  
Old 07-26-2008
Junior Member
 
Join Date: Mar 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Asthap is on a distinguished road
Re: Operator Overloading

it is maily to reuse same objects.
Reply With Quote
Reply

  Geeks Talk > Software Development > C#


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Operator overloading valireddy C and C++ 2 04-12-2008 06:34 AM
Java templates, operator overloading ansahahmed OOPS 0 03-03-2008 01:06 PM
C++ Operator Overloading Part II Lokesh M C and C++ 1 12-28-2007 01:21 AM
Operator OverLoading Code vinodjallapally Java 1 08-31-2007 06:45 AM
Operator Overloading sripri C and C++ 2 12-11-2006 09:12 AM


All times are GMT -4. The time now is 06:04 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved