Click here to Skip to main content
15,908,264 members
Home / Discussions / C#
   

C#

 
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 
Please tell me how to implement a method that will look to its own class and return (eg. an array) of all members of this class (its suppose to use reflection, this kind of reflection is called 'self' if I remember good...)

I tried something like that:
<br />
ble b = new ble();<br />
<br />
			Type t;<br />
			FieldInfo[] mi;<br />
			t = typeof(ble);<br />
			mi = t.GetMembers();<br />
<br />
			foreach(MemberInfo mem in mi)<br />
				this.listBox.Items.Add(mem.Name);<br />
<br />


and it wrote some strange stuff... I just want to have all the members of 'ble' class (eg. string s, int i, etc)
AnswerRe: Reflection Pin
Andrew Kirillov31-Aug-05 10:13
Andrew Kirillov31-Aug-05 10:13 
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 
AnswerRe: Updating Datagrid Cell Value Pin
Alomgir Miah31-Aug-05 6:58
Alomgir Miah31-Aug-05 6:58 
GeneralRe: Updating Datagrid Cell Value Pin
wiseylondon31-Aug-05 22:20
susswiseylondon31-Aug-05 22:20 
GeneralRe: Updating Datagrid Cell Value Pin
mav.northwind31-Aug-05 22:56
mav.northwind31-Aug-05 22:56 
GeneralRe: Updating Datagrid Cell Value Pin
wiseylondon1-Sep-05 0:02
susswiseylondon1-Sep-05 0:02 
Questionc++ codeparser Pin
profoundwhispers31-Aug-05 5:00
profoundwhispers31-Aug-05 5:00 

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.