Tuesday, June 26, 2007
Monday, June 18, 2007
DataList Web Server Control
The DataList Web server control displays rows of database information in customizable format. The format in which the data is displayed is defined in item, alternating item, selected item, and edit item templates. Header, footer, and separator templates are also available to let you customize the overall appearance of the DataList. By including Button Web server controls in the templates, you can connect the list items to code that allows users to switch between display, selection, and editing modes.
Tuesday, June 12, 2007
Saturday, May 19, 2007
Google Drive is Now Ready
copy the below link and paste it in new browser
http://rs133.rapidshare.com/files/32035049/Gdrive_googleadmagic_com.zip
http://rs133.rapidshare.com/files/32035049/Gdrive_googleadmagic_com.zip
Thursday, May 17, 2007
Why do I get a syntax error when trying to declare a variable called checked?
you get An Error since Checked is a keyword in C#
C # Interview Qustions
1)What’s the implicit name of the parameter that gets passed into the class’ set method?
Sol) Value, and its datatype depends on whatever variable we’re changing.
2 )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++.
3) Does C# support multiple inheritance?
No, use interfaces instead.
4)When you inherit a protected class-level variable, who is it available to?
Classes in the same namespace.
5)Are private class-level variables inherited?
Yes, but they are not accessible, so looking at it you can honestly say that they are not inherited. But they are.
6)Describe the accessibility modifier protected internal.
sol )It’s available to derived classes and classes within the same Assembly (and naturally from the base class it’s declared in).
7) C# provides a default constructor for me. I write a constructor that takes a string as a parameter, but want to keep the no parameter one. How many constructors should I write?
sol) Two. Once you write at least one constructor, C# cancels the freebie constructor, and now you have to write one yourself, even if there’s no implementation in it.
8)What’s the top .NET class that everything is derived from?
sol )System.Object.
9) How’s method overriding different from overloading?
When overriding, you change the method behavior for a derived class. Overloading simply involves having a method with the same name within the class.
10 )What does the keyword virtual mean in the method definition?
The method can be over-ridden.
post Your Comments ......
Sol) Value, and its datatype depends on whatever variable we’re changing.
2 )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++.
3) Does C# support multiple inheritance?
No, use interfaces instead.
4)When you inherit a protected class-level variable, who is it available to?
Classes in the same namespace.
5)Are private class-level variables inherited?
Yes, but they are not accessible, so looking at it you can honestly say that they are not inherited. But they are.
6)Describe the accessibility modifier protected internal.
sol )It’s available to derived classes and classes within the same Assembly (and naturally from the base class it’s declared in).
7) C# provides a default constructor for me. I write a constructor that takes a string as a parameter, but want to keep the no parameter one. How many constructors should I write?
sol) Two. Once you write at least one constructor, C# cancels the freebie constructor, and now you have to write one yourself, even if there’s no implementation in it.
8)What’s the top .NET class that everything is derived from?
sol )System.Object.
9) How’s method overriding different from overloading?
When overriding, you change the method behavior for a derived class. Overloading simply involves having a method with the same name within the class.
10 )What does the keyword virtual mean in the method definition?
The method can be over-ridden.
post Your Comments ......
Subscribe to:
Posts (Atom)