C # FAQ

Source: Internet
Author: User

1. There are several usage methods for new
Hide three Instance Object Methods
2. How to copy an array to the arrayList
Foreach (object o in array) arrayList. Add (o );

3. What data sources can the datagrid. datasouse connect?
DataSet


4. Overview of reflection and serialization
Ability to dynamically obtain information,

5. Overview of o/r mapping principles
Use reflection to configure database table ing

6. Class Members have () accessible forms
7. What are the characteristics of classes modified with sealed?
8. After executing the following code:
String strTemp = "abcdefg ";
Int I System. Text. Encoding. Default. GetBytes (strTemp). Length;
Int j = strTemp. Length;
Q: I = (); j = ()
10. detail the similarities and differences between class and struct in. NET!
11. Overview of. NET's understanding of remoting and webservice and its practical application.
12. What is code-behind technology?
13. Overview of the three-tier architecture
14.asp.net: How to Implement the MVC mode, for example!
15. What is a user control in ASP.net?
16. What is an application domain? What is regulated code? What is a strong system? What is packing and unpacking? What is overload? What are the explanations of CTS, CLS, and CLR?
17. List the XML technologies you know and their applications.
18. What is the difference between the value type and the reference type? Write the sample code of C.
What are common objects in 19.ADO.net? Describe them separately.
20. How to understand delegation?
A: It is said to be equivalent to a function pointer. If a delegate is defined, the method can be called without calling the original method name.
Msdn2005 explains this as follows:
Delegation has the following features:
The delegate is similar to a C ++ function pointer, but it is type-safe.
The delegate allows passing methods as parameters.
A delegate can be used to define a callback method.
The delegate can be linked together. For example, multiple methods can be called for an event.
The method does not need to be exactly matched with the delegate signature. For more information, see covariant and inverter.
C #2.0 introduces the concept of anonymous methods, which allow passing code blocks as parameters instead of Individually Defined methods.
21. What are the similarities and differences between interfaces and classes in C.
22 .. What classes are used to read and write databases in. net? Their role
23. Similarities and Differences between UDP and TCP connections.
What are the authentication methods for 24.ASP.net? What are their principles?
25. How do processes and threads understand each other?
In 26..net, what namespaces do classes that read and write XML belong?
27. Explain the significance and functions of UDDI and WSDL.
28. What is SOAP and what applications are there.
A: Simple Object Access Protocol (SOAP) is a Protocol used to exchange information and execute remote process calls in a distributed or distributed environment. It is an XML-based Protocol. When using SOAP, you do not need to consider any specific transmission protocol (the most commonly used HTTP protocol). You can allow any type of objects or code to communicate with each other in any language on any platform. This type of communication uses the XML format of the message, see: http://playist.blogchina.com/2521621.html
29. How to deploy an ASP.net page.
30. How to deploy an ASP.net page.
31. How to understand the garbage collection mechanism in. net.
32. What are common webservice call methods?
33. Please explain the important nodes in the web. config file
34. Please explain ASP. What is the relationship between web pages and hidden classes in. NET?
35. What is viewstate? Can I disable it? Can all controls be disabled?
36. What is the possible cause when I find that I cannot read the input data on the page?
37. Explain the code execution sequence on a WEB page.
38. What is a context object and under what circumstances should I use the context object?
39. What is the difference between forwarding and redirection?
40. How does one transmit data between different pages in ASP. NET?
41. Please explain ASP. Differences between the buttons linkbutton imagebutton and hyperlink in. NET
42. Please explain. . NET multi-tier application middle-layer and layer-layer data transmission in that way. And explain the method used in your project.
43. If ASP appears. NET events cannot be triggered due to what causes?
44. How can I add a drop-down list box to a column in the datagride control and bind data?
45. What is the difference between data binding in asp.net and traditional data binding?
46. Please explain what is the difference between the Delegate-implemented event model of. net and the event model implemented using interfaces in JAVA.
47. What is the significance of explicit implementation of interfaces?
This article is from 51CTO. COM technical blog

4. List the XML technologies you know and their applications.
A: XML is a good thing. It is used for saving configurations and communication between sites.

9. The company requires the development of an inheritance System. windows. forms. listView components require the following special features: When you click the headers of columns in the ListView, all rows in the view can be rearranged based on the values of each row in the click column (the sorting method is similar to that in the DataGrid ). Based on your knowledge, please briefly discuss your ideas: (10)
A: Based on the column header clicked, the ID of this column is taken out, sorted by the ID, and bound to the ListView

Net
1. What role did you assume in your previous project and what aspects of work were you primarily responsible?

2. What are the restrictions on web service data transmission? Why? Can a DataTable be passed as a web service parameter?

3. How can I rewrite a url?

4. What are the transactions in. net?

5. What is the difference between DataReader and DataSet?

6. The Repeater control does not support the paging function. How can we implement the paging function? (Implementation ideas)

7. How to Implement Custom User Controls (composite controls) and custom events? Briefly describe the principle of delegation.

8. How do I pass values between pages in the same application?

9. What are the differences between strong data types and weak data types?

10. Briefly describe the class libraries commonly used in fcl, including web forms, data access, io operations, and network applications.

11. What are the advantages and disadvantages of Project hierarchy? What is the basis for layering?

12. How to understand gc in. net?

// Css

1. How do I define id and class in css? Which definition has a higher priority?
For example, if the class defines an html element without a border, and the id defines that the element has a border, what is the result?

2. How to specify a css style with the Style Class c1 and the font size 9pt In the div element?

// Html

1. Use html to implement the following table (not as good as nested utility table)
Three rows and three columns, where the first column of the First row is merged with the first column of the Second row;
Merge the second column of the Second row and the third column of the second row (field drawing table)

2. What are the advantages of standard web websites?

// Js

1. Briefly describe the principles of ajax.

2. How to define class and extend prototype in js?

3. There are several minutes to add html element events.

// Database

1. How to define the default parameter values of stored procedures.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.