The Class is a template or blueprint of an object. It is used to encapsulate data members and member methods. It can contain fields, methods, constructor, static method, etc.
Example :
type Student (id,name)=
class
member x.show =
printf "%d \n%s" id name
end
let a = new Student (12,"FSharp")
a.show