Rectangle ?

B

billq

Hello, I am working through a tutorial using xna and ran into a declaration
that was Rectangle? rect. I am not sure what the ? does for me. If you
could shed some light I would be greatful
thanks
Bill
 
N

Nicholas Paldino [.NET/C# MVP]

Bill,

Rectangle is syntax in C# for Nullable<Rectangle>.

Basically, any structure with the ? after it is a nullable structure.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top