Posts by Lisa Shiphrah • 955 points
5 posts
-
49
votes6
answers32712
viewsQ: Abstract Class X Interface
What is the difference between an abstract class and an interface? I don’t understand when I should use one or the other.
-
19
votes3
answers12047
viewsQ: Why doesn’t C# allow multiple inheritances?
In C# we can implement several interfaces. However, because we cannot inherit from more than one base class?
-
8
votes6
answers1227
viewsQ: Property readonly . NET
I received this question in a test and could not answer: "How is it possible to declare a property readonly in . NET / C#?"
-
7
votes18
answers139957
viewsA: What is the best way to center an element vertically and horizontally?
The best way, simple and fast. Works 100% of the time, in all browsers. div { width: 200px; height: 200px; margin-left: -100px; /* metade da largura */ margin-top: -100px; /* metade da altura */…
-
1
votes7
answers19609
viewsA: How to catch an element inside an iframe?
You can even exchange messages between the parent page and the iframe. Only, for this, you need to have access to the source code of the iframe. If you have this access, I have some examples that…