| | |
C# beginner
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: May 2006
Posts: 1
Reputation:
Solved Threads: 0
Hi i am a beginner in c# programming. Can anybody tell me what happens in the code lines for this class :
using System; using System.Collections.Generic; using System.Text; using Wilson.ORMapper; namespace WindowsApplication3.Data { public class LogEntry : DataObject { public int referringID; private string type; private DataObject owner; private string text; public string Text { get { return this.text; } set { this.text = value; } } private DateTime time = DateTime.Now; public DateTime Time { get { return this.time; } set { this.time = value; } } public LogEntry() { DataManager.Current.Engine.StartTracking(this, InitialState.Inserted); } public LogEntry(DataObject owner) : this() { this.owner = owner; this.referringID = owner.ID; this.type = this.owner.GetType().ToString(); } public override string ToString() { return this.Text; } } }
Last edited by cscgal; May 6th, 2006 at 4:05 pm.
You've got an odd using statement in there:
Do you have a particular question about the code, or a method within the class exactly?
C# Syntax (Toggle Plain Text)
using Wilson.ORMapper;
Do you have a particular question about the code, or a method within the class exactly?
Alex Cavnar, aka alc6379
![]() |
Similar Threads
- What program language should a beginner use? (IT Professionals' Lounge)
- C++ Beginner - #include recursion problem (C++)
- MS Access Beginner (MS SQL)
- PHP Beginner Here (PHP)
- beginner (C++)
- Beginner's questions: C++ and databases (C++)
- beginner needs help with game programming (Game Development)
Other Threads in the C# Forum
- Previous Thread: How to use good oo-structure?
- Next Thread: How To Make 3d Text With OpenGl Using C#.net
Views: 2434 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for C#
.net access ado.net algorithm array barchart bitmap box broadcast button buttons c# chat check checkbox class client color combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees development draganddrop drawing encryption enum event excel file form format forms ftp function gdi+ httpwebrequest image index input install java label list listbox listener login mandelbrot math mouseclick mysql networking object operator oracle path photoshop picturebox pixelinversion post prime programming radians regex remote remoting resource richtextbox save saving serialization server sleep socket sql statistics string table textbox thread time timer treeview update usercontrol validation view visualstudio webbrowser windows winforms wpf xml






