Click here to Skip to main content
15,911,132 members
Home / Discussions / C#
   

C#

 
Questionmy installer removes product when repair Pin
Iftekhar Naim17-Jul-07 9:06
Iftekhar Naim17-Jul-07 9:06 
QuestionMaking a variable Pin
Raymond_P*17-Jul-07 9:03
Raymond_P*17-Jul-07 9:03 
AnswerRe: Making a variable Pin
Larantz17-Jul-07 9:35
Larantz17-Jul-07 9:35 
QuestionQueue And Stack class without using System.Collections Pin
Suj_7817-Jul-07 8:12
Suj_7817-Jul-07 8:12 
AnswerRe: Queue And Stack class without using System.Collections Pin
Mike Dimmick17-Jul-07 8:42
Mike Dimmick17-Jul-07 8:42 
GeneralRe: Queue And Stack class without using System.Collections Pin
Malcolm Smart17-Jul-07 11:21
Malcolm Smart17-Jul-07 11:21 
AnswerRe: Queue And Stack class without using System.Collections Pin
Luc Pattyn17-Jul-07 14:03
sitebuilderLuc Pattyn17-Jul-07 14:03 
Questioncan any one tell me whats wrong in this code? Pin
ademsandeepreddy17-Jul-07 8:12
ademsandeepreddy17-Jul-07 8:12 
using System;
using System.Collections.Generic;
using System.Text;

namespace ClassLibrary1
{
public class bank
{
private int _accno;
private string _acctype;
private int _balance;
private int _amount;
public int accno
{
get
{
return _accno;
}
set
{
_accno = value;
}
}
public string acctype
{
get
{
return _acctype;
}
set
{
if (_acctype = "savings" || _acctype = "current")
{
_acctype = value;
}
else
{
_acctype = "";
}
}
}
public int balance
{
get
{
return _balance;
}

}
public int amount
{
get
{
return _amount;
}
set
{
_amount = value;
}
}
public int credit(_balance , _amount)
{
return _balance + _amount;
}
public int debit(_balance , _amount)
{
return _balance - _amount;
}
}
}


hi

AnswerRe: can any one tell me whats wrong in this code? Pin
Suj_7817-Jul-07 8:15
Suj_7817-Jul-07 8:15 
GeneralRe: can any one tell me whats wrong in this code? Pin
ademsandeepreddy17-Jul-07 8:28
ademsandeepreddy17-Jul-07 8:28 
GeneralRe: can any one tell me whats wrong in this code? Pin
Suj_7817-Jul-07 8:35
Suj_7817-Jul-07 8:35 
GeneralRe: can any one tell me whats wrong in this code? Pin
Luc Pattyn17-Jul-07 14:10
sitebuilderLuc Pattyn17-Jul-07 14:10 
AnswerRe: can any one tell me whats wrong in this code? Pin
kubben17-Jul-07 8:15
kubben17-Jul-07 8:15 
AnswerRe: can any one tell me whats wrong in this code? Pin
Larantz17-Jul-07 8:17
Larantz17-Jul-07 8:17 
AnswerRe: can any one tell me whats wrong in this code? Pin
PhilDanger17-Jul-07 8:46
PhilDanger17-Jul-07 8:46 
AnswerRe: can any one tell me whats wrong in this code? Pin
Clinkz17-Jul-07 9:01
Clinkz17-Jul-07 9:01 
AnswerRe: can any one tell me whats wrong in this code? Pin
shrapnel_indie17-Jul-07 9:57
shrapnel_indie17-Jul-07 9:57 
AnswerRe: can any one tell me whats wrong in this code? Pin
aztekka17-Jul-07 10:02
aztekka17-Jul-07 10:02 
QuestionConcerning "Open with..." functionality Pin
Sepharo17-Jul-07 8:12
Sepharo17-Jul-07 8:12 
AnswerRe: Concerning "Open with..." functionality Pin
Sepharo17-Jul-07 8:18
Sepharo17-Jul-07 8:18 
AnswerRe: Concerning "Open with..." functionality Pin
PIEBALDconsult17-Jul-07 8:47
mvePIEBALDconsult17-Jul-07 8:47 
GeneralRe: Concerning "Open with..." functionality Pin
Sepharo17-Jul-07 8:56
Sepharo17-Jul-07 8:56 
GeneralRe: Concerning "Open with..." functionality Pin
PIEBALDconsult17-Jul-07 9:12
mvePIEBALDconsult17-Jul-07 9:12 
GeneralRe: Concerning "Open with..." functionality Pin
Sepharo17-Jul-07 9:21
Sepharo17-Jul-07 9:21 
GeneralRe: Concerning "Open with..." functionality Pin
PIEBALDconsult17-Jul-07 9:21
mvePIEBALDconsult17-Jul-07 9: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.