C
C#2y ago
nein

❔ 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
ero
ero2y ago
let me look at my crystal ball 🔮 nope, no idea maybe you can give more context
nein
neinOP2y ago
nein
neinOP2y ago
i'm trying to add class in a Model folder but there's no option to add class
ero
ero2y ago
i mean i don't know anything about f# but just add a source file and write the class in it...?
Denis
Denis2y ago
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 it
Denis
Denis2y ago
O’Reilly Online Learning
Programming F#
Denis
Denis2y ago
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.
nein
neinOP2y ago
i just started c# and i was making mvc project in it by watching tutorial idk how f# is in it
Denis
Denis2y ago
You probably created an F# project by accident Remove it, and create a C# project
nein
neinOP2y ago
okay thanks
Pobiega
Pobiega2y ago
$close
MODiX
MODiX2y ago
Use the /close command to mark a forum thread as answered
Pobiega
Pobiega2y ago
since this seems to be answered, it would be great if you could close it
Accord
Accord2y ago
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.
Want results from more Discord servers?
Add your server