1) What is delegate and how do you make two subscribers of event call parallel? i.e If they called sequentially there would be chance that event maintained data could be accessed/modified by one other and other might get data integration issue.
2) How reflection is implemented in C#?
3) What is the default parameter in C++/C# ?
4) Let's say you have Method1 in class A and fields like x, y. If you create multiple instances of A, how much memory Method1 consume?
class A{
int x;
int y;
Method1(){...}
}
If it consumes only single code memory then how this method know the value of members x, y of A?
5) What is the use of 64-bit processors than 32 bit ones?
6) Let's say, you have list updated by thread getting data from some driver. When ever there is change in list then you need to notify the interested people. Write a code for this.
7) How to share data among multiple process where data size is huge?
8) Can I share data using Dlls? If yes then data could be red by unwanted processes right??
2) How reflection is implemented in C#?
3) What is the default parameter in C++/C# ?
4) Let's say you have Method1 in class A and fields like x, y. If you create multiple instances of A, how much memory Method1 consume?
class A{
int x;
int y;
Method1(){...}
}
If it consumes only single code memory then how this method know the value of members x, y of A?
5) What is the use of 64-bit processors than 32 bit ones?
6) Let's say, you have list updated by thread getting data from some driver. When ever there is change in list then you need to notify the interested people. Write a code for this.
7) How to share data among multiple process where data size is huge?
8) Can I share data using Dlls? If yes then data could be red by unwanted processes right??