Javatpoint Logo
Javatpoint Logo

F# Attribute

In F#, attribute is used to enable metadata for program code construct. Attribute can be applied to any construct like function, module, method and type.

Syntax:


F# Attribute Example

Output:

attributes.fs(118,1): warning FS0044: This construct is deprecated. Do not use. Use newFunction instead.
Next TopicF# Signatures





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA