TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
fawndull2
NA
5
0
ILGenerator
Nov 23 2004 6:23 PM
Hey Guys, I have a class that can contain a formula. I dont know what this formula is going to be in advance. What I want to do is have a method called calculate in which the code of the method is modified to calculate the inputted formula. Is there anyway to generate IL code and attach it to an instance of a class. Maybe using virtual methods or delegates or something. I dont want to create an extra type because the formula can change a lot in one execution and i dont want to create all those unecessary types.
Reply
Answers (
1
)
ConsoleKeyInfo and Console.ReadKey()?
VB to C# ???