Click here to Skip to main content
15,892,005 members
Home / Discussions / C#
   

C#

 
QuestionErro: No overload for method 'GetRegisteredActivatedServiceTypes' takes '3' arguments Pin
piano_Korg9-Oct-13 17:27
professionalpiano_Korg9-Oct-13 17:27 
AnswerRe: Erro: No overload for method 'GetRegisteredActivatedServiceTypes' takes '3' arguments Pin
Pete O'Hanlon9-Oct-13 20:05
mvePete O'Hanlon9-Oct-13 20:05 
QuestionNeed to make a GUI for reading from serial Port. And using Multiple forms Pin
alfie.max159-Oct-13 17:00
alfie.max159-Oct-13 17:00 
AnswerRe: Need to make a GUI for reading from serial Port. And using Multiple forms Pin
Mycroft Holmes9-Oct-13 17:07
professionalMycroft Holmes9-Oct-13 17:07 
GeneralRe: Need to make a GUI for reading from serial Port. And using Multiple forms Pin
alfie.max159-Oct-13 19:50
alfie.max159-Oct-13 19:50 
GeneralRe: Need to make a GUI for reading from serial Port. And using Multiple forms Pin
Freak309-Oct-13 21:09
Freak309-Oct-13 21:09 
AnswerRe: Need to make a GUI for reading from serial Port. And using Multiple forms Pin
lukeer10-Oct-13 20:52
lukeer10-Oct-13 20:52 
QuestionError Only assignment, call, increment, decrement, and new object expressions can be used as a statement. Pin
piano_Korg9-Oct-13 15:50
professionalpiano_Korg9-Oct-13 15:50 
using System;
using System.Collections.Generic;
using System.Text;

namespace ClassLibrary1
{
public class Khachhang:MarshalByRefObject
{
private string tennguoitruoc;
private int songuoi;
public Khachhang (){
tennguoitruoc = "";

songuoi = 0;
Console.WriteLine("Doi tuong duoc khoi tao");



}
public string Laythongtin(string ten){

Console.WriteLine("Doi tuong goi ham");
string thongdiep;
if (tennguoitruoc.Length == 0)

thongdiep = "Chao" + ten + "Ban la nguoi dau tien";


else
"Chao," + ten + ".Co" + songuoi.ToString() +
"nguoitruocban,va" + tennguoitruoc + "la nguoi dung truocban";//Error at this line:tennguoitruoc.
:

songuoi++;
tennguoitruoc = ten;
return thongdiep;





}

}
}
AnswerRe: Error Only assignment, call, increment, decrement, and new object expressions can be used as a statement. Pin
Richard Andrew x649-Oct-13 16:44
professionalRichard Andrew x649-Oct-13 16:44 
GeneralRe: Error Only assignment, call, increment, decrement, and new object expressions can be used as a statement. Pin
Ron Beyer9-Oct-13 16:45
professionalRon Beyer9-Oct-13 16:45 
AnswerRe: Error Only assignment, call, increment, decrement, and new object expressions can be used as a statement. Pin
Ron Beyer9-Oct-13 16:44
professionalRon Beyer9-Oct-13 16:44 
GeneralRe: Error Only assignment, call, increment, decrement, and new object expressions can be used as a statement. Pin
piano_Korg9-Oct-13 17:25
professionalpiano_Korg9-Oct-13 17:25 
QuestionRe: Error Only assignment, call, increment, decrement, and new object expressions can be used as a statement. Pin
Richard MacCutchan9-Oct-13 21:34
mveRichard MacCutchan9-Oct-13 21:34 
Questionforward stdIn via ssh to application on linux server Pin
Beachi869-Oct-13 11:16
Beachi869-Oct-13 11:16 
QuestionAdd Table To DBML - Doesn't Show Up In Code Pin
Kevin Marois8-Oct-13 9:55
professionalKevin Marois8-Oct-13 9:55 
AnswerRe: Add Table To DBML - Doesn't Show Up In Code Pin
Richard MacCutchan8-Oct-13 9:59
mveRichard MacCutchan8-Oct-13 9:59 
GeneralRe: Add Table To DBML - Doesn't Show Up In Code Pin
Kevin Marois8-Oct-13 10:00
professionalKevin Marois8-Oct-13 10:00 
AnswerRe: Add Table To DBML - Doesn't Show Up In Code Pin
Member 100425318-Oct-13 19:24
Member 100425318-Oct-13 19:24 
AnswerRe: Add Table To DBML - Doesn't Show Up In Code Pin
Richard Andrew x649-Oct-13 4:11
professionalRichard Andrew x649-Oct-13 4:11 
GeneralRe: Add Table To DBML - Doesn't Show Up In Code Pin
Pete O'Hanlon9-Oct-13 5:11
mvePete O'Hanlon9-Oct-13 5:11 
GeneralRe: Add Table To DBML - Doesn't Show Up In Code Pin
Dave Kreskowiak9-Oct-13 7:08
mveDave Kreskowiak9-Oct-13 7:08 
GeneralRe: Add Table To DBML - Doesn't Show Up In Code Pin
Pete O'Hanlon9-Oct-13 8:39
mvePete O'Hanlon9-Oct-13 8:39 
GeneralRe: Add Table To DBML - Doesn't Show Up In Code Pin
Dave Kreskowiak9-Oct-13 10:09
mveDave Kreskowiak9-Oct-13 10:09 
GeneralRe: Add Table To DBML - Doesn't Show Up In Code Pin
Pete O'Hanlon9-Oct-13 10:29
mvePete O'Hanlon9-Oct-13 10:29 
GeneralRe: Add Table To DBML - Doesn't Show Up In Code Pin
Dave Kreskowiak9-Oct-13 15:21
mveDave Kreskowiak9-Oct-13 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.