Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Typo in docs?
Message
From
01/08/2006 18:32:07
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Typo in docs?
Miscellaneous
Thread ID:
01142251
Message ID:
01142251
Views:
55
This message has been marked as the solution to the initial question of the thread.
in MM .NET Developer's Guide
Jump Start: Creating Business Objects - C#
Step 8: Enhancing the OrderDetail Business Object

There's some code lines:
public DataTable GetOrderDetail(int? orderID)
and twice
this.GetOrderDetail((int?)e.PrimaryKeyValue);
I'm not familiar with the ?, a typo yes?

[Edit]
Ah, not a typo. Allows the null check somehow. I'm not finding this idiom/operator on the net or MSDN. Can someone tell me the name? Give me a pointer to this? Thanks!

{Edit]
Found it: C# 2.0 Nullable type modifier.
Next
Reply
Map
View

Click here to load this message in the networking platform