a place for everything and everything in its place

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?cm9kY2hhcg==?=

    a place for everything and everything in its place

    hi all,

    i have a very simple console app but i'm having trouble putting things where
    they belong. all this program does is take a list of filenames and ftp's them
    somewhere.

    Program.cs
    Utility.MarkSta rtTime
    Start();
    Utility.MarkSum mary
    Business.cs
    should something goe here?
    Utility.cs
    ...
    Console.WriteLi ne(Business.Sta rtTime)
    ...
    Console.WriteLi ne(DataLayer.Re cordsTransferre d)
    ...
    Console.WriteLi ne(Business.End Time)
    ...
    Console.WriteLi ne(DataLayer.Cu rrentFileTransf erred)
    DataLayer.cs
    Public Property CurrentFileTran sferred
    Loop thru each file and ftp it
    Utility.Current FileTransferred
    Utility.Records Transferred

    i know this may be too simple to break out into files i'm just doing it as
    an exercise.

    thanks,
    rodchar
  • Peter Duniho

    #2
    Re: a place for everything and everything in its place

    On Tue, 18 Nov 2008 11:25:03 -0800, rodchar
    <rodchar@discus sions.microsoft .comwrote:
    [...]
    i know this may be too simple to break out into files i'm just doing it
    as
    an exercise.
    I suppose exercise is good for you. But, I'm not sure that lifting
    weights 12 oz. at a time helps much. Likewise, not everything breaks down
    into a standard three-tier solution. :)

    Comment

    Working...