❔ class not showing up
there's no option to add class from vistual studio where u normally add class. what should i do
15 Replies
let me look at my crystal ball
🔮
nope, no idea
maybe you can give more context
i'm trying to add class in a Model folder
but there's no option to add class
i mean i don't know anything about f#
but just add a source file
and write the class in it...?
F# is a functional programming language. Yes, you can define classes, but it is not the focus on the language. Thus, there is no template in the
Add new Item
window for a class
Instead you create a new F# file and write what you want inside ithttps://www.oreilly.com/library/view/programming-f/9780596802080/ check this book out for F#
O’Reilly Online Learning
Programming F#
Or, even better: https://dotnet.microsoft.com/en-us/learn/fsharp
Microsoft
Learn F# | Free tutorials, courses, videos, and more | .NET
Free courses, tutorials, videos, and more to learn to program in F#. Resources from the .NET team, .NET community, and training companies.
i just started c# and i was making mvc project in it by watching tutorial
idk how f# is in it
You probably created an F# project by accident
Remove it, and create a C# project
okay thanks
$close
Use the
/close
command to mark a forum thread as answeredsince this seems to be answered, it would be great if you could close it
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.