I am using a Feature Receiver to create a custom content type in the FeatureActivated event. I know know to create a list instance through code to use my content type.
What I would like to do is create a custom list definition (list template) to use my custom content type in the FeatureActiviated event. I would like to do this entirely through C# code only (no xml files). I have been unable to find any examples of creating a list definition through code on MSDN.