Click here to Skip to main content
15,915,869 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problem with override the operators Pin
VendorX13-Mar-13 6:47
VendorX13-Mar-13 6:47 
GeneralRe: Problem with override the operators Pin
Eddy Vluggen13-Mar-13 7:20
professionalEddy Vluggen13-Mar-13 7:20 
AnswerRe: Problem with override the operators Pin
Dave Kreskowiak13-Mar-13 6:48
mveDave Kreskowiak13-Mar-13 6:48 
AnswerRe: Problem with override the operators Pin
Richard MacCutchan13-Mar-13 7:24
mveRichard MacCutchan13-Mar-13 7:24 
AnswerRe: Problem with override the operators Pin
Pete O'Hanlon13-Mar-13 7:27
mvePete O'Hanlon13-Mar-13 7:27 
GeneralRe: Problem with override the operators Pin
VendorX13-Mar-13 7:49
VendorX13-Mar-13 7:49 
AnswerRe: Problem with override the operators Pin
DaveyM6913-Mar-13 9:02
professionalDaveyM6913-Mar-13 9:02 
AnswerRe: Problem with override the operators Pin
DaveyM6913-Mar-13 9:10
professionalDaveyM6913-Mar-13 9:10 
Unary operators require one parameter, so it's assuming that the operator should be a unary one as you are only supplying one parameter.
The operators you have listed are binary operators, so require two parameters.

See my example in my other post and my article An Introduction to Operator Overloading in C#[^]
Dave

Binging is like googling, it just feels dirtier.
Please take your VB.NET out of our nice case sensitive forum.
Astonish us. Be exceptional. (Pete O'Hanlon)

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)



GeneralRe: Problem with override the operators Pin
VendorX13-Mar-13 9:38
VendorX13-Mar-13 9:38 
GeneralRe: Problem with override the operators Pin
MicroVirus13-Mar-13 12:06
MicroVirus13-Mar-13 12:06 
QuestionMdi form in c# Pin
keyur_raval13-Mar-13 2:09
keyur_raval13-Mar-13 2:09 
AnswerRe: Mdi form in c# Pin
Pete O'Hanlon13-Mar-13 2:17
mvePete O'Hanlon13-Mar-13 2:17 
QuestionHow to record the video from a System.Windows.Forms.Panel? Pin
makhondi13-Mar-13 1:33
makhondi13-Mar-13 1:33 
AnswerRe: How to record the video from a System.Windows.Forms.Panel? Pin
NotPolitcallyCorrect13-Mar-13 1:43
NotPolitcallyCorrect13-Mar-13 1:43 
AnswerRe: How to record the video from a System.Windows.Forms.Panel? Pin
makhondi13-Mar-13 1:50
makhondi13-Mar-13 1:50 
GeneralRe: How to record the video from a System.Windows.Forms.Panel? Pin
NotPolitcallyCorrect13-Mar-13 2:36
NotPolitcallyCorrect13-Mar-13 2:36 
AnswerRe: How to record the video from a System.Windows.Forms.Panel? Pin
Pete O'Hanlon13-Mar-13 2:08
mvePete O'Hanlon13-Mar-13 2:08 
AnswerRe: How to record the video from a System.Windows.Forms.Panel? Pin
Dave Kreskowiak13-Mar-13 6:47
mveDave Kreskowiak13-Mar-13 6:47 
QuestionHelp! Create File Pin
makhondi13-Mar-13 0:59
makhondi13-Mar-13 0:59 
AnswerRe: Help! Create File Pin
Garth J Lancaster13-Mar-13 1:12
professionalGarth J Lancaster13-Mar-13 1:12 
AnswerRe: Help! Create File Pin
Pete O'Hanlon13-Mar-13 1:13
mvePete O'Hanlon13-Mar-13 1:13 
AnswerRe: Help! Create File Pin
Garth J Lancaster13-Mar-13 1:13
professionalGarth J Lancaster13-Mar-13 1:13 
GeneralRe: Help! Create File Pin
GuyThiebaut13-Mar-13 1:48
professionalGuyThiebaut13-Mar-13 1:48 
QuestionMultiple Serial Ports over TCPIP Pin
ritmas12-Mar-13 23:27
ritmas12-Mar-13 23:27 
QuestionRegarding K-means Text Clustering Pin
sunny funny12-Mar-13 21:44
sunny funny12-Mar-13 21:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.