Click here to Skip to main content
15,887,746 members
Home / Discussions / C#
   

C#

 
Questionproperty lists Pin
BungoMan8531-Aug-05 9:05
BungoMan8531-Aug-05 9:05 
AnswerRe: property lists Pin
Mohamad Al Husseiny31-Aug-05 9:19
Mohamad Al Husseiny31-Aug-05 9:19 
QuestionOpen Graph via: icon Pin
Debs*31-Aug-05 8:35
Debs*31-Aug-05 8:35 
AnswerRe: Open Graph via: icon Pin
Mohamad Al Husseiny31-Aug-05 9:30
Mohamad Al Husseiny31-Aug-05 9:30 
GeneralRe: Open Graph via: icon Pin
Debs*1-Sep-05 6:27
Debs*1-Sep-05 6:27 
QuestionPlay raw data Pin
Niklas Ulvinge31-Aug-05 8:07
Niklas Ulvinge31-Aug-05 8:07 
QuestionReflection Pin
Yoyosch31-Aug-05 7:23
Yoyosch31-Aug-05 7:23 
AnswerRe: Reflection Pin
Andrew Kirillov31-Aug-05 10:13
Andrew Kirillov31-Aug-05 10:13 
Hello

Suppose we have the next class:
class A
{
	public int memberVariable;
	public void Method1() {}
	public void Method2() {}
}


And the next code somewhere:
Type type = typeof(A);

MemberInfo[] mis = type.GetMembers();

foreach (MemberInfo mi in mis)
{
	System.Diagnostics.Debug.WriteLine(mi.Name);
}


So, we'll get something like this in output window:
memberVariable<br />
GetHashCode<br />
Equals<br />
ToString<br />
Method1<br />
Method2<br />
GetType<br />
.ctor


What is wrong? You have all your own members and inherited members.

Andrew
GeneralRe: Reflection Pin
Yoyosch31-Aug-05 11:46
Yoyosch31-Aug-05 11:46 
GeneralRe: Reflection Pin
Andy Brummer31-Aug-05 11:57
sitebuilderAndy Brummer31-Aug-05 11:57 
GeneralRe: Reflection Pin
Yoyosch31-Aug-05 12:02
Yoyosch31-Aug-05 12:02 
QuestionRe: Reflection Pin
Yoyosch31-Aug-05 12:38
Yoyosch31-Aug-05 12:38 
AnswerRe: Reflection Pin
Werdna31-Aug-05 13:50
Werdna31-Aug-05 13:50 
GeneralRe: Reflection Pin
Yoyosch31-Aug-05 14:15
Yoyosch31-Aug-05 14:15 
AnswerRe: Reflection Pin
Andy Brummer31-Aug-05 18:01
sitebuilderAndy Brummer31-Aug-05 18:01 
QuestionWindows Service arguments Pin
vSoares31-Aug-05 7:01
professionalvSoares31-Aug-05 7:01 
AnswerRe: Windows Service arguments Pin
Mohamad Al Husseiny31-Aug-05 7:18
Mohamad Al Husseiny31-Aug-05 7:18 
QuestionOld C New C# Pin
buggity31-Aug-05 5:51
buggity31-Aug-05 5:51 
AnswerRe: Old C New C# Pin
Mohamad Al Husseiny31-Aug-05 6:17
Mohamad Al Husseiny31-Aug-05 6:17 
Questionmethod Pin
HFreitas31-Aug-05 5:30
HFreitas31-Aug-05 5:30 
AnswerRe: method Pin
Yoyosch31-Aug-05 6:01
Yoyosch31-Aug-05 6:01 
AnswerRe: method Pin
Judah Gabriel Himango31-Aug-05 6:23
sponsorJudah Gabriel Himango31-Aug-05 6:23 
AnswerRe: method Pin
Mohamad Al Husseiny31-Aug-05 6:26
Mohamad Al Husseiny31-Aug-05 6:26 
AnswerRe: method Pin
Guffa31-Aug-05 7:50
Guffa31-Aug-05 7:50 
QuestionUpdating Datagrid Cell Value Pin
Member 156189431-Aug-05 5:20
Member 156189431-Aug-05 5:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.