inheritance ו c#
קודם כל (כמו שגלעד רמז לי לעשות
) אני כותב console application.
קודם כל (כמו שגלעד רמז לי לעשות
#region Using directives using System; using System.Collections.Generic; using System.Text; #endregion namespace ConsoleApplication{ class Program{ static void Main(string[] args){ Point x = new Point("MyFirstPoint", 0, 0); //some code } } public class Point{ // some methods and properties.... } }
וזה עובד יפה... עד שאני מוסיף את השורה הזאת:public class dPoint
oint{ }
האם אני צריך איזה namespace מיוחד