Click here to Skip to main content
15,887,386 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to how message from window serviece Pin
Shameel16-Aug-12 1:47
professionalShameel16-Aug-12 1:47 
AnswerRe: how to how message from window serviece Pin
Vijay Selvaraj26-Aug-12 22:03
Vijay Selvaraj26-Aug-12 22:03 
Questionauto sleep/wakeup windows 7 at specified times Pin
lordrt15-Aug-12 10:04
lordrt15-Aug-12 10:04 
AnswerRe: auto sleep/wakeup windows 7 at specified times Pin
Wes Aday15-Aug-12 11:13
professionalWes Aday15-Aug-12 11:13 
NewsRe: auto sleep/wakeup windows 7 at specified times Pin
Eddy Vluggen15-Aug-12 11:41
professionalEddy Vluggen15-Aug-12 11:41 
AnswerRe: auto sleep/wakeup windows 7 at specified times Pin
OriginalGriff15-Aug-12 20:42
mveOriginalGriff15-Aug-12 20:42 
AnswerRe: auto sleep/wakeup windows 7 at specified times Pin
lordrt16-Aug-12 5:38
lordrt16-Aug-12 5:38 
QuestionHaving Problem with small Function Pin
computerpublic15-Aug-12 8:11
computerpublic15-Aug-12 8:11 
Hello,
I am trying to learn functions in C#. I wrote the following test functions and I am getting the error: Error 1 An object reference is required for the non-static field, method, or property 'Testing_Functions.Program.Test(double, double, double)' C:\Users\computerpublic\AppData\Local\Temporary Projects\Testing Functions\Program.cs 18 29 Testing Functions.


C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Testing_Functions
{
    class Program
    {
        public Double Test(Double Val1, Double Val2, Double Val3)
        {
            Double Test_Val = Val1 + Val2 + Val3;
            return Test_Val;
        }
        static void Main(string[] args)
        {
            Double A = 1, B = 2, C = 3;
            Double Result = Test(A,B,C);
        }
    }
}

AnswerRe: Having Problem with small Function Pin
Dave Kreskowiak15-Aug-12 8:14
mveDave Kreskowiak15-Aug-12 8:14 
GeneralRe: Having Problem with small Function Pin
computerpublic15-Aug-12 9:06
computerpublic15-Aug-12 9:06 
GeneralRe: Having Problem with small Function Pin
Wes Aday15-Aug-12 9:43
professionalWes Aday15-Aug-12 9:43 
GeneralRe: Having Problem with small Function Pin
harold aptroot15-Aug-12 10:20
harold aptroot15-Aug-12 10:20 
AnswerRe: Having Problem with small Function PinPopular
Bernhard Hiller15-Aug-12 22:54
Bernhard Hiller15-Aug-12 22:54 
AnswerRe: Having Problem with small Function Pin
DaveyM6916-Aug-12 1:37
professionalDaveyM6916-Aug-12 1:37 
QuestionDelegate w/ Lambda Pin
Herrwolf115-Aug-12 4:43
Herrwolf115-Aug-12 4:43 
AnswerRe: Delegate w/ Lambda Pin
BobJanova15-Aug-12 5:04
BobJanova15-Aug-12 5:04 
GeneralRe: Delegate w/ Lambda Pin
Eddy Vluggen15-Aug-12 5:19
professionalEddy Vluggen15-Aug-12 5:19 
GeneralRe: Delegate w/ Lambda Pin
Herrwolf115-Aug-12 8:54
Herrwolf115-Aug-12 8:54 
AnswerRe: Delegate w/ Lambda Pin
Dave Doknjas15-Aug-12 10:21
Dave Doknjas15-Aug-12 10:21 
GeneralRe: Delegate w/ Lambda Pin
Herrwolf115-Aug-12 10:54
Herrwolf115-Aug-12 10:54 
QuestionSending SMS through ASP.NET Pin
komalridda14-Aug-12 20:00
komalridda14-Aug-12 20:00 
AnswerRe: Sending SMS through ASP.NET Pin
OriginalGriff14-Aug-12 20:42
mveOriginalGriff14-Aug-12 20:42 
AnswerCross Post Pin
DaveyM6914-Aug-12 23:24
professionalDaveyM6914-Aug-12 23:24 
AnswerRe: Sending SMS through ASP.NET Pin
Keith Barrow15-Aug-12 2:08
professionalKeith Barrow15-Aug-12 2:08 
QuestionSave Excel File Pin
Member 916988714-Aug-12 15:21
Member 916988714-Aug-12 15:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.