Archive for category dot net
C# Questions
Jan 6
Is there regular expression (regex) support available to C# developers?
Yes. The .NET class libraries provide support for regular expressions. Look at the documentation for the System.Text.RegularExpressions namespace.
How do I make a DLL in C#?
You need to use the /target:library compiler option
I was trying to use an “out int” parameter in one of my functions. How should I declare the variable that I Read More
Interview Questions C#
Jan 6
What’s the implicit name of the parameter that gets passed into the class’ set method? Value, and its datatype depends on whatever variable we’re changing.
How do you inherit from a class in C#? Place a colon and then the name of the base class. Notice that it’s double colon in C++.
Does C# support multiple inheritance? No, use interfaces instead.
When you inherit a protected class-level Read More
