Click here to Skip to main content
15,923,120 members
Home / Discussions / C#
   

C#

 
GeneralRe: Comparing objects of different types Pin
Waleed Eissa30-Jun-08 21:37
Waleed Eissa30-Jun-08 21:37 
GeneralRe: Comparing objects of different types Pin
Luc Pattyn1-Jul-08 1:22
sitebuilderLuc Pattyn1-Jul-08 1:22 
GeneralRe: Comparing objects of different types Pin
Waleed Eissa1-Jul-08 1:53
Waleed Eissa1-Jul-08 1:53 
GeneralRe: Comparing objects of different types Pin
Luc Pattyn1-Jul-08 2:11
sitebuilderLuc Pattyn1-Jul-08 2:11 
GeneralRe: Comparing objects of different types Pin
Waleed Eissa1-Jul-08 3:18
Waleed Eissa1-Jul-08 3:18 
GeneralRe: Comparing objects of different types Pin
Luc Pattyn1-Jul-08 3:23
sitebuilderLuc Pattyn1-Jul-08 3:23 
GeneralRe: Comparing objects of different types Pin
Waleed Eissa1-Jul-08 16:05
Waleed Eissa1-Jul-08 16:05 
GeneralRe: Comparing objects of different types Pin
Luc Pattyn1-Jul-08 16:20
sitebuilderLuc Pattyn1-Jul-08 16:20 
Waleed Eissa wrote:
to create an object and assign it the value I want for the ID


that was the idea yes


Waleed Eissa wrote:
comparing objects of different types is not directly supported


objects of different types are different by definition, no need to compare them.
this is not related to any framework, they differ by definition in OO. chairs aren't tables.

If your different types have a useful common ancestor (say furniture) you should
use that as the basis for your logic.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

Voting for dummies? No thanks. Dead | X|


QuestionDivide an image Pin
gigahertz20530-Jun-08 14:34
gigahertz20530-Jun-08 14:34 
AnswerRe: Divide an image Pin
Christian Graus30-Jun-08 14:53
protectorChristian Graus30-Jun-08 14:53 
GeneralRe: Divide an image Pin
gigahertz20530-Jun-08 15:21
gigahertz20530-Jun-08 15:21 
GeneralRe: Divide an image Pin
Christian Graus30-Jun-08 15:27
protectorChristian Graus30-Jun-08 15:27 
GeneralRe: Divide an image Pin
gigahertz20530-Jun-08 15:35
gigahertz20530-Jun-08 15:35 
GeneralRe: Divide an image Pin
Christian Graus30-Jun-08 15:36
protectorChristian Graus30-Jun-08 15:36 
GeneralRe: Divide an image Pin
gigahertz20530-Jun-08 15:52
gigahertz20530-Jun-08 15:52 
GeneralRe: Divide an image Pin
Christian Graus30-Jun-08 15:54
protectorChristian Graus30-Jun-08 15:54 
GeneralRe: Divide an image Pin
gigahertz20530-Jun-08 16:01
gigahertz20530-Jun-08 16:01 
GeneralRe: Divide an image Pin
Christian Graus30-Jun-08 16:09
protectorChristian Graus30-Jun-08 16:09 
GeneralRe: Divide an image Pin
gigahertz20530-Jun-08 16:14
gigahertz20530-Jun-08 16:14 
GeneralRe: Divide an image Pin
gigahertz20530-Jun-08 16:56
gigahertz20530-Jun-08 16:56 
GeneralRe: Divide an image Pin
Rao Rafique30-Jun-08 18:27
Rao Rafique30-Jun-08 18:27 
GeneralRe: Divide an image Pin
Christian Graus30-Jun-08 18:57
protectorChristian Graus30-Jun-08 18:57 
QuestionRandom Class Pin
hadad30-Jun-08 13:43
hadad30-Jun-08 13:43 
AnswerRe: Random Class Pin
Christian Graus30-Jun-08 14:04
protectorChristian Graus30-Jun-08 14:04 
GeneralRe: Random Class Pin
Megidolaon1-Jul-08 2:55
Megidolaon1-Jul-08 2:55 

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.