Jump to content

Why can't I use typedef


HPR

Recommended Posts

26 minutes ago, HPR said:

Why can´t i use "typedef" ...

 

Because C# doesn't use typedef. You can create a type alias with the using keyword.

 

27 minutes ago, HPR said:

where can i see the type definition of (for example) "class PaintDotNet.Surface"? 

 

Press F12 on a Surface type in Visual Studio, and it will take you to the type definition.

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

I've split this question into its own thread ... if you're asking questions like this then you probably need to take a step back and learn more about C# :) Has nothing specifically to do with Paint.NET

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...