-6

If I change an existing DataMember property as part of a WCF contract from Boolean to bool, is this then considered as a change/breach of contract?

Moo-Juice
  • 38,257
  • 10
  • 78
  • 128
Knut
  • 1

4 Answers4

6

There is no difference between Boolean and bool. They are one and the same. Twins. Compatriots. Brothers in Arms. Drinking Buddies. Compardres. Smiths & Wessons, Turner and Hooch. Dumb and Dumber.

Moo-Juice
  • 38,257
  • 10
  • 78
  • 128
1

bool is an alias for System.Boolean just as string is an alias for System.String

http://msdn.microsoft.com/en-us/library/ya5y69ds%28VS.80%29.aspx

Joan Caron
  • 1,969
  • 18
  • 21
0

There is no difference! bool is just the alias for System.Boolean!

Tobias
  • 232
  • 1
  • 16
0

If I change an existing DataMember property as part of a WCF contract from Boolean to bool,

bool is an alias to Boolean. There is no difference.

is this then considered as a change/breach of contract

No, as they are same therefore you won't face any change.

Ehsan
  • 31,833
  • 6
  • 56
  • 65