c#ÖÐbin,obj,propertiesÎļþ¼ÐµÄ×÷ÓÃ
¡¡¡¡Bin Ŀ¼ÓÃÀ´´æ·Å±àÒëµÄ½á¹û£¬binÊǶþ½øÖÆbinraryµÄÓ¢ÎÄËõд£¬ÒòΪ×î³õC±àÒëµÄ³ÌÐòÎļþ¶¼ÊǶþ½øÖÆÎļþ£¬ËüÓÐDebugºÍReleaseÁ½¸ö°æ±¾£¬·Ö±ð¶ÔÓ¦µÄÎļþ¼ÐΪbin/DebugºÍbin/Release£¬Õâ¸öÎļþ¼ÐÊÇĬÈϵÄÊä³ö·¾¶£¬ÎÒÃÇ¿ÉÒÔͨ¹ý£ºÏîÄ¿ÊôÐÔ—>ÅäÖÃÊôÐÔ—>Êä³ö·¾¶À´Ð޸ġ£
¡¡¡¡objÊÇobjectµÄËõд£¬ÓÃÓÚ´æ·Å±àÒë¹ý³ÌÖÐÉú³ÉµÄÖмäÁÙʱÎļþ¡£ÆäÖж¼ÓÐdebugºÍreleaseÁ½¸ö×ÓĿ¼£¬·Ö±ð¶ÔÓ¦µ÷ÊÔ°æ±¾ºÍ·¢Ðа汾£¬ÔÚ.NETÖУ¬±àÒëÊÇ·ÖÄ£¿é½øÐеģ¬±àÒëÕû¸öÍê³Éºó»áºÏ²¢ÎªÒ»¸ö.DLL»ò.EXE±£´æµ½binĿ¼Ï¡£ÒòΪÿ´Î±àÒëʱĬÈ϶¼ÊDzÉÓÃÔöÁ¿±àÒ룬¼´Ö»ÖØбàÒë¸Ä±äÁ˵ÄÄ£¿é£¬obj±£´æÿ¸öÄ£¿éµÄ±àÒë½á¹û£¬ÓÃÀ´¼Ó¿ì±àÒëËٶȡ£ÊÇ·ñ²ÉÓÃÔöÁ¿±àÒ룬¿ÉÒÔͨ¹ý£ºÏîÄ¿ÊôÐÔ—>ÅäÖÃÊôÐÔ—>¸ß¼¶—>ÔöÁ¿±àÒëÀ´ÉèÖá£
¡¡¡¡PropertiesÎļþ¼Ð ¶¨ÒåÄã³ÌÐò¼¯µÄÊôÐÔ ÏîÄ¿ÊôÐÔÎļþ¼Ð Ò»°ãÖ»ÓÐÒ»¸ö AssemblyInfo.cs ÀàÎļþ£¬ÓÃÓÚ±£´æ³ÌÐò¼¯µÄÐÅÏ¢£¬ÈçÃû³Æ£¬°æ±¾µÈ£¬ÕâЩÐÅÏ¢Ò»°ãÓëÏîÄ¿ÊôÐÔÃæ°åÖеÄÊý¾Ý¶ÔÓ¦£¬²»ÐèÒªÊÖ¶¯±àд¡£
¡¡¡¡.cs ÀàÎļþ¡£Ô´´úÂ붼дÔÚÕâÀÖ÷Òª¾Í¿´ÕâÀïµÄ´úÂë¡£
¡¡¡¡.resx ×ÊÔ´Îļþ£¬Ò»Ð©×ÊÔ´´æ·ÅÔÚÕâÀһ°ã²»ÐèÒª¿´¡£
¡¡¡¡.csproj C#ÏîÄ¿Îļþ£¬ÓÃVS´ò¿ªÕâ¸öÎļþ¾Í¿ÉÒÔÖ±½Ó´ò¿ªÕâ¸öÏîÄ¿£¬×Ô¶¯Éú³É£¬²»ÐèÒª¿´¡£
¡¡¡¡.csproj.user ÊÇÒ»¸öÅäÖÃÎļþ£¬×Ô¶¯Éú³ÉµÄ£¬»á¼Ç¼ÏîÄ¿Éú³É·¾¶¡¢ÏîÄ¿Æô¶¯³ÌÐòµÈÐÅÏ¢¡£Ò²²»ÐèÒª¿´¡£
¡¡¡¡.Designer.cs Éè¼ÆÎļþ£¬×Ô¶¯Éú³É£¬²»ÐèÒª¿´¡£
¡¡¡¡.aspx ÊÇÍøÒ³Îļþ£¬HTML´úÂëдÔÚÕâÀïÃæ¡£
¡¡¡¡sln:ÔÚ¿ª·¢»·¾³ÖÐʹÓõĽâ¾ö·½°¸Îļþ¡£Ëü½«Ò»¸ö»ò¶à¸öÏîÄ¿µÄËùÓÐÔªËØ×éÖ¯µ½µ¥¸öµÄ½â¾ö·½°¸ÖС£´ËÎļþ´æ´¢ÔÚ¸¸ÏîĿĿ¼ÖÐ.½â¾ö·½°¸Îļþ£¬ËûÊÇÒ»¸ö»ò¶à¸ö.proj£¨ÏîÄ¿£©µÄ¼¯ºÏ
¡¡¡¡*.sln£º(Visual Studio.Solution) ͨ¹ýΪ»·¾³Ìṩ¶ÔÏîÄ¿¡¢ÏîÄ¿ÏîºÍ½â¾ö·½°¸ÏîÔÚ´ÅÅÌÉÏλÖõÄÒýÓÃ,¿É½«ËüÃÇ×éÖ¯µ½½â¾ö·½°¸ÖС£
¡¡¡¡±ÈÈçÊÇÉú³ÉDebugģʽ,»¹ÊÇReleaseģʽ,ÊÇͨÓÃCPU»¹ÊÇרÓõĵÈ
Ïà¹ØÎĵµ£º
2£©ÈçºÎ´´½¨Ò»¸öxmlÎĵµ
ÓÉÓÚxmlʵÖÊÒ²Ö»ÊÇÒ»¸öÎı¾Îļþ£¬ËùÒÔ×î¼òµ¥Äã¿ÉÒÔÖ±½ÓʹÓÃSystem.IOϵÄÀàÉú³ÉÒ»¸öÎļþ£¬²¢´æ´¢³ÉxmlÎļþ£¬µ±È»£¬ÄãÐèÒªÊÖ¶¯±£Ö¤¸ÃÎļþÐÎʽÁ¼ºÃ£¬±ÈÈç±ØÐëÓиùÔªËØ¡¢±ØÐëÓйرձêÇ©¡¢±ØÐëÕýȷǶÌ׵ȵȡ£
Èç¹ûÄãÀÁµÃ×Ô¼ºÈ¥ÏëÎļþµÄÐÎʽ£¬¿ÉÒÔʹÓÃSystem.XmlϵÄÀà¡£
Code
Xml ......
3£©¶ÁÈ¡¡¢²éÕÒ
µ±ÄãÊÖÍ·ÓÐÒ»¸öxmlÎļþºó£¬¿ÉÒÔʹÓÃXmlDocument.Load()·½·¨½«Æä¼ÓÔؽøÀ´ÒԱ㴦Àí£¬ËùÒÔ“¶ÁÈ¡”ûÓÐʲô¿É˵µÄ¡£¶ø“²éÕÒ”²Ù×÷ÍùÍùÉæ¼°XPath£¬ÕâÀïÖ»ÊÇÎÒÈÏΪµÄ±È½Ï³£Óõ½µÄ²éÕÒ²Ù×÷£¬XPathÕâÍæÒâʵÔÚÊǺÜÇ¿´óºÜ±©Á¦¡£
»ØÍ·¿´Ê¾ÀýÎĵµxmlsample.xml£¬ÎÒÃÇ¿ÉÄÜÓöµ½ÕâÑùµÄÐèÇó£ ......
RT¡£ÏÈÌù´úÂë
C# code
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Value_Ref_test1
{
class Program
{
static void Main(string[] args)
{
point a = new point (10,10) ;
point b = a;
......
ÎÒÃÇÔÚ±à³ÌµÄʱ·Ö£¬ÓÐʱ»áÔËÓöàÏß³ÌÀ´½â¾öÎÊÌ⣬ÀýÈçÄãµÄ³ÌÐò¼±ÐèÔÚºǫ́ÀÏ°å´¦ÖÃÒ»´ó¶ÑÊý¾Ý£¬µ«»¹ÒªÊ©Óû§½çÃæ¾ÓÓڿɲÙ×÷״̬£»»òÐíÄãµÄ³ÌÐòؽÐè·ÃÎÊһЩÍⲿ×ÊԴϤÊý¾Ý¿â»òÍøÂç×ÊÁϵȡ£ÕâЩ¾°¿öÄ㶼¿ÉÒÔ´´ÉèÒ»¸öÍ·Ïß³ÌÈ¥´¦Öã¬È»Ôò£¬¶àÏ̲߳»¿ÉÄæתµØ»á´ø»ØÒ»¸öÎÊÌ⣬ÄËÊÇÏß³Ìͬ²½µÄÎÊÌâ¡£ÈçÆäÕâ¸öÎÊÌâ´¦ÖÃÔã¸â£¬ÎÒÃǾͻá ......
1.¾²Ì¬³ÉÔ±ºÍ·Ç¾²Ì¬³ÉÔ±µÄÇø±ð£¿
2.const ºÍ static readonly Çø±ð£¿
3.extern ÊÇʲôÒâ˼£¿
4.abstract ÊÇʲôÒâ˼£¿
5.internal ÐÞÊηûÆðʲô×÷Óã¿
6.sealed ÐÞÊηûÊǸÉʲôµÄ£¿
7.override ºÍ overload µÄÇø±ð£¿
8.ʲôÊÇË÷ÒýָʾÆ÷£¿
9.new ÐÞÊηûÊÇÆðʲô×÷Óã¿
10.this ¹Ø¼ü×ֵĺ¬Ò壿
11.¿ÉÒÔʹÓóéÏóº¯Ê ......