Tags:Programming Issue | 87 views
This is a bit of a weird one, so I’ll try and explain it best I can.
I have 1 dll that contains a third party library of wpf user controls (Bag o tricks). In my framework dll, I added this dll and reference it. I then made my own component that extends one of the [...]
Tags:OOPS Questions | 161 views
In object-oriented programming, polymorphism is a generic term that means ‘many shapes’. (from the Greek meaning “having multiple forms”). Polymorphism is briefly described as “one interface, many implementations.” polymorphism is a characteristic of being able to assign a different meaning or usage to something in different contexts - specifically, to allow an entity such as [...]
Tags:ASP.NET Questions, Dot Net Questions | 75 views
Useful for preparation, but too specific to be used in the interview.
Is it possible to inline assembly or IL in C# code? - No.
Is it possible to have different access modifiers on the get/set methods of a property? - No. The access modifier on a property applies to both its get and set accessors. What [...]
Tags:C Interview Question | 78 views
Q: What is the difference between Stack and Queue?
A: Stack is a Last In First Out (LIFO) data structure.
Queue is a First In First Out (FIFO) data structure
Q: Write a fucntion that will reverse a string. (Microsoft)
A: char *strrev(char *s)
{
int i = 0, len = strlen(s);
char *str;
if ((str = (char *)malloc(len+1)) == NULL) /*cannot [...]