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
Abhimanyu Aryan
NA
35
8.6k
I don't understand Reflection in C#
Jun 22 2015 12:52 AM
On MSDN Reflection is explained as "You can use reflection to dynamically create an instance of a type, bind the type to an existing object, or get the type from an existing object and invoke its methods or access its fields and properties. "
As an example they have stated:
int i = 42;
System.Type type = i.GetType();
System.Console.WriteLine(type);
If I am not wrong according to definition they have dynamically create 'type' object here and stored 'i.GetType()' return value in type. Is that what's reflection?
Reply
Answers (
1
)
public class vs class
err: column name or number of supplied values does not match