Results 1 to 2 of 2

Thread: [2.0] function in c#

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2006
    Posts
    719

    [2.0] function in c#

    how can i do this in c#?

    Fuction GetInt(ds as DateTime) as Integer

    End Fuction

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2.0] function in c#

    Syntax is the basis of the language. If you don't know how to write a function then I suggest you find a beginner's C# tutorial and work through it.
    C# Code:
    1. private int GetInt(DateTime ds)
    2. {
    3.  
    4. }
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width