Click here to Skip to main content
15,888,212 members
Home / Discussions / C#
   

C#

 
GeneralRe: how can reading bytes Pin
OriginalGriff1-May-15 8:01
mveOriginalGriff1-May-15 8:01 
GeneralRe: how can reading bytes Pin
Gerry Schmitz1-May-15 18:54
mveGerry Schmitz1-May-15 18:54 
GeneralRe: how can reading bytes Pin
hasan hadi1-May-15 19:34
hasan hadi1-May-15 19:34 
AnswerRe: how can reading bytes Pin
hasan hadi1-May-15 8:21
hasan hadi1-May-15 8:21 
GeneralRe: how can reading bytes Pin
OriginalGriff1-May-15 8:34
mveOriginalGriff1-May-15 8:34 
GeneralRe: how can reading bytes Pin
hasan hadi1-May-15 19:15
hasan hadi1-May-15 19:15 
AnswerRe: how can reading bytes Pin
hasan hadi1-May-15 19:50
hasan hadi1-May-15 19:50 
QuestionHow to find references of a Property in the class through code? similar to 'Find All References' in Visual Studio Environment. Pin
Sid_ScienceKid1-May-15 3:18
Sid_ScienceKid1-May-15 3:18 
Hello,

I am trying to find a code to find all the references of the property defined in a class which is very similar to 'Find All References' function available in Visual Studio environment. But I want to have it in code during run time. How to do it?

e.g 

=>Property 1

private int _Salary;

public int Salary()

{

get{return _Salary;}

set{_Salary = value;}

}

=> Property 2

private int _Bonus;

public int Bonus()

{

get{return Salary * 2;}

}

Like in the above example I have two properties Salary & Bonus. Bonus is calculated from salary. As soon as I set a value to Salary, value of Bonus gets updated. 

Similarly I want to get reference of all other properties or methods in the class or program which are affected when value of Salary is changed through code. 

Conclusion - I want to have a method or function, so that whenever I set a value to some property in a class, I want to have a list of all the other properties(List<Property>) or methods which are affected and in which the changed property is referenced.  

Please help me to achieve this.

Siddharth.Shinde

AnswerRe: How to find references of a Property in the class through code? similar to 'Find All References' in Visual Studio Environment. Pin
Eddy Vluggen1-May-15 3:29
professionalEddy Vluggen1-May-15 3:29 
GeneralRe: How to find references of a Property in the class through code? similar to 'Find All References' in Visual Studio Environment. Pin
Sascha Lefèvre1-May-15 3:38
professionalSascha Lefèvre1-May-15 3:38 
GeneralHow to read an array from 1 class to another Pin
yikes12330-Apr-15 19:21
yikes12330-Apr-15 19:21 
GeneralRe: How to read an array from 1 class to another Pin
Daniel Pfeffer30-Apr-15 20:42
professionalDaniel Pfeffer30-Apr-15 20:42 
GeneralRe: How to read an array from 1 class to another Pin
Richard MacCutchan30-Apr-15 21:16
mveRichard MacCutchan30-Apr-15 21:16 
GeneralRe: How to read an array from 1 class to another Pin
David A. Gray3-May-15 10:12
David A. Gray3-May-15 10:12 
Questionc sharp - Confusing string manipulation Pin
Member 1115178230-Apr-15 7:31
Member 1115178230-Apr-15 7:31 
AnswerRe: c sharp - Confusing string manipulation Pin
Matt T Heffron30-Apr-15 8:17
professionalMatt T Heffron30-Apr-15 8:17 
GeneralRe: c sharp - Confusing string manipulation Pin
David A. Gray1-May-15 11:13
David A. Gray1-May-15 11:13 
GeneralRe: c sharp - Confusing string manipulation Pin
Matt T Heffron1-May-15 11:31
professionalMatt T Heffron1-May-15 11:31 
GeneralRe: c sharp - Confusing string manipulation Pin
David A. Gray1-May-15 19:08
David A. Gray1-May-15 19:08 
QuestionCan any one help me to convert amatlab code to c# ,please? Pin
Member 1147426930-Apr-15 5:41
Member 1147426930-Apr-15 5:41 
AnswerRe: Can any one help me to convert amatlab code to c# ,please? Pin
OriginalGriff30-Apr-15 5:58
mveOriginalGriff30-Apr-15 5:58 
AnswerRe: Can any one help me to convert amatlab code to c# ,please? Pin
Eddy Vluggen30-Apr-15 5:58
professionalEddy Vluggen30-Apr-15 5:58 
GeneralRe: Can any one help me to convert amatlab code to c# ,please? Pin
Kenneth Haugland30-Apr-15 6:06
mvaKenneth Haugland30-Apr-15 6:06 
GeneralRe: Can any one help me to convert amatlab code to c# ,please? Pin
Eddy Vluggen30-Apr-15 8:51
professionalEddy Vluggen30-Apr-15 8:51 
GeneralRe: Can any one help me to convert amatlab code to c# ,please? Pin
Member 1147426930-Apr-15 11:01
Member 1147426930-Apr-15 11:01 

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.