function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sanjay NandiSanjay Nandi 

Creation of Custom Field

Can i create a custom Field using VisualForce Page and Apex class code?
 
SonamSonam (Salesforce Developers) 
You will have to use the metadata API to create custom fields as shown in the example on the link below:
http://andyinthecloud.com/2013/10/27/introduction-to-calling-the-metadata-api-from-apex/