Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

C# ³£¼û±ÊÊÔÌâ


1.    newÓм¸ÖÖÓ÷¨
    3ÖÖ ÊµÀý¶ÔÏó ·½·¨Òþ²Ø
2.ÈçºÎ°ÑÒ»¸öarray¸´ÖƵ½arrayListÀï
   foreach( object o in array )arrayList.Add(o);
3.datagrid.datasouse¿ÉÒÔÁ¬½ÓʲôÊý¾ÝÔ´
   Êý¾Ý¼¯DataSet
  
4.¸ÅÊö·´ÉäºÍÐòÁл¯
   ¶¯Ì¬»ñµÃÐÅÏ¢µÄÒ»ÖÖÄÜÁ¦£¬
5.¸ÅÊöo/r mapping µÄÔ­Àí
   ÀûÓ÷´É䣬ÅäÖà ½«ÀàÓÚÊý¾Ý¿â±íÓ³Éä
6.Àà³ÉÔ±ÓÐ( )ÖÖ¿É·ÃÎÊÐÎʽ
7.ÓÃsealedÐÞÊεÄÀàÓÐʲôÌصã
8.Ö´ÐÐÏÂÃæ´úÂëºó£º
String strTemp ="abcdefg ijijij"£»
Int i System.Text.Encoding.Default.GetBytes(strTemp).Length;
Int j = strTemp.Length;
ÎÊ£ºi=( ) £»j=( )
10.ÏêÊö.NETÀïclassºÍstructµÄÒìͬ£¡
11.¸ÅÊö.NETÀï¶Ô remoting ºÍ webservice Á½Ïî¼¼ÊõµÄÀí½âºÍʵ¼ÊÖеÄÓ¦Óá£
12.ʲôÊÇcode-behind¼¼Êõ
13.¸ÅÊöÈý²ã½á¹¹Ìåϵ
14.asp.netÈçºÎʵÏÖMVCģʽ£¬¾ÙÀý˵Ã÷£¡
15.ʲôÊÇASP.netÖеÄÓû§¿Ø¼þ
16.ʲô½ÐÓ¦ÓóÌÐòÓò£¿Ê²Ã´ÊÇÊܹÜÖƵĴúÂ룿ʲôÊÇÇ¿ÀàÐÍϵͳ£¿Ê²Ã´ÊÇ×°ÏäºÍ²ðÏ䣿ʲôÊÇÖØÔØ£¿CTS¡¢CLSºÍCLR·Ö±ð×÷ºÎ½âÊÍ£¿
17.ÁоÙÒ»ÏÂÄãËùÁ˽âµÄXML¼¼Êõ¼°ÆäÓ¦ÓÃ
18.ÖµÀàÐͺÍÒýÓÃÀàÐ͵ÄÇø±ð£¿Ð´³öC#µÄÑùÀý´úÂë¡£
19.ADO.netÖг£ÓõĶÔÏóÓÐÄÄЩ£¿·Ö±ðÃèÊöһϡ£
20.ÈçºÎÀí½âίÍУ¿
´ð:¾Ý˵Ï൱ÓÚº¯ÊýÖ¸Õë,¶¨ÒåÁËίÍоͿÉÒÔÔÚ²»µ÷ÓÃÔ­·½·¨Ãû³ÆµÄÇé¿öϵ÷ÓÃÄǸö·½·¨.
msdn2005ÖÐÊÇÕâÑù½âÊ͵Ä:
ίÍоßÓÐÒÔÏÂÌص㣺
ίÍÐÀàËÆÓÚ C++ º¯ÊýÖ¸Õ룬µ«ËüÊÇÀàÐÍ°²È«µÄ¡£
ίÍÐÔÊÐí½«·½·¨×÷Ϊ²ÎÊý½øÐд«µÝ¡£
ίÍпÉÓÃÓÚ¶¨Òå»Øµ÷·½·¨¡£
ίÍпÉÒÔÁ´½ÓÔÚÒ»Æð£»ÀýÈ磬¿ÉÒÔ¶ÔÒ»¸öʼþµ÷Óöà¸ö·½·¨¡£
·½·¨²»ÐèÒªÓëίÍÐÇ©Ãû¾«È·Æ¥Åä¡£Óйظü¶àÐÅÏ¢£¬Çë²Î¼ûЭ±äºÍÄæ±ä¡£
C# 2.0 °æÒýÈëÁËÄäÃû·½·¨µÄ¸ÅÄ´ËÀà·½·¨ÔÊÐí½«´úÂë¿é×÷Ϊ²ÎÊý´«µÝ£¬ÒÔ´úÌæµ¥¶À¶¨ÒåµÄ·½·¨¡£
21.C#ÖеĽӿںÍÀàÓÐʲôÒìͬ¡£
22.¡£netÖжÁдÊý¾Ý¿âÐèÒªÓõ½ÄÄЩÀࣿËûÃǵÄ×÷ÓÃ
23.UDPÁ¬½ÓºÍTCPÁ¬½ÓµÄÒìͬ¡£
24.ASP.netµÄÉí·ÝÑéÖ¤·½Ê½ÓÐÄÄЩ£¿·Ö±ðÊÇʲôԭÀí£¿
25.½ø³ÌºÍÏ̷ֱ߳ðÔõôÀí½â£¿
26..netÖжÁдXMLµÄÀ඼¹éÊôÓÚÄÄЩÃüÃû¿Õ¼ä£¿
27.½âÊÍÒ»ÏÂUDDI¡¢WSDLµÄÒâÒå¼°Æä×÷Óá£
28.ʲôÊÇSOAP,ÓÐÄÄЩӦÓá£
´ð:SOAP£¨Simple
Object Access Protocol
£©¼òµ¥¶ÔÏó·ÃÎÊЭÒéÊÇÔÚ·ÖÉ¢»ò·Ö²¼Ê½µÄ»·¾³Öн»»»ÐÅÏ¢²¢Ö´ÐÐÔ¶³Ì¹ý³Ìµ÷ÓõÄЭÒ飬ÊÇÒ»¸ö»ùÓÚXMLµÄЭÒ顣ʹÓÃSOAP£¬²»Óÿ¼ÂÇÈκÎÌØ


Ïà¹ØÎĵµ£º

C#´ò°üSQLÊý¾Ý¿â²¿Êð°²×°


²Î¿¼¡¶ASP.NETÓëSQLÒ»Æð´ò°ü²¿Êð°²×°¡·
£¬ÕâƪÎÄÕÂÊÇÕë¶ÔVB.NETÓëSQL Ò»Æð´ò°üµÄ,µ«ÊÇÎÒʹÓõÄÊÇC#,µ±È»Ö»ÒªÐÞ¸ÄÒ»ÏÂÖ÷Òª°²×°Àà¿â¾ÍÐÐÁË!C#µÄÀà¿â´úÂëÈçÏÂ:DBCustomAction.cs
using System;
using System.Collections;
using System.Data.SqlClient;
using System.ComponentModel;
using System.Configuration.Inst ......

¡¾C#¡¿XSLTת»»XMLʵÀý

²úÆ·¼¸ÄêǰʹÓÃASP£¬ºóÀ´Éý¼¶µ½.Net 1.1£¬ÔÙÉý¼¶µ½2.0£¬Ò»Ö±¶¼ÓÐÓÃXSLTת»»XMLÉú³ÉÍøÒ³µÄ·½Ê½£¬ÉÔ΢ÕûÀíÏ¡£
    XML file:
<?xml version="1.0" encoding="utf-8" ?>
<ric>
  <catalog>
    <book price ......

C#¹Ø¼ü×ÖthisºÍbase 區別


¹ØÓÚʹÓõ½ÁËÁ½¸öC#¹Ø¼ü×ÖthisºÍbase¡£ 
1£¬C# "this " keyword 
Æä×÷ÓÃÒýÓÃÀàµÄµ±Ç°ÊµÀý£¬Æäʵ¿´ÁËÏÂÃæÕâ¸öÀý×ӾͺÃÀí½âÁË¡£ 
Ö÷ÒªÈý¸ö×÷Ó㺵±Ç°ÊµÀý¡¢²ÎÊý´«µÝºÍË÷ÒýÆ÷ 
1.1 µ±Ç°ÊµÀý 
class Team 

///³ÉÔ±±äÁ¿ 
private string name; 
///¹¹Ô캯Êý 
......

C# ίÍеÄÃîÎÄ¡¾×ª¡¿

ίÍкÍʼþÔÚ .Net FrameworkÖеÄÓ¦Ó÷dz£¹ã·º£¬È»¶ø£¬½ÏºÃµØÀí½âίÍкÍʼþ¶ÔºÜ¶à½Ó´¥C#ʱ¼ä²»³¤µÄÈËÀ´Ëµ²¢²»ÈÝÒס£ËüÃǾÍÏñÊÇÒ»µÀ¼÷¶ù£¬¹ýÁËÕâ¸ö¼÷µÄÈË£¬¾õµÃÕæÊÇÌ«ÈÝÒ×ÁË£¬¶øûÓйýÈ¥µÄÈËÿ´Î¼ûµ½Î¯ÍкÍʼþ¾Í¾õµÃÐÄÀï±ð£¨bi裩µÃ»Å£¬»ìÉí²»×ÔÔÚ¡£±¾ÎÄÖУ¬ÎÒ½«Í¨¹ýÁ½¸ö·¶ÀýÓÉdzÈëÉîµØ½²ÊöʲôÊÇίÍС¢ÎªÊ²Ã´ÒªÊ¹Ó ......

C#ÖнṹÓëÀàµÄÇø±ð

Ò»£®ÀàÓë½á¹¹µÄʾÀý±È½Ï£º
½á¹¹Ê¾Àý£º
public struct Person
{
string Name;
int height;
int weight
public bool overWeight()
{
//implement something
}
}
ÀàʾÀý£º
public class TestTime
{
int hours;
int minutes;
int seconds;
public void passtime()
{
//implementation ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ