Click here to Skip to main content
15,894,017 members
Home / Discussions / C#
   

C#

 
Question[Solved] Date is displayed as 41606.4350485301 and not 2013-11-28 10:20:30.783 ! Pin
emma.sun.sts1-Dec-13 21:24
emma.sun.sts1-Dec-13 21:24 
AnswerRe: Date is displayed as 41606.4350485301 and not 2013-11-28 10:20:30.783 ! Pin
GuyThiebaut1-Dec-13 21:43
professionalGuyThiebaut1-Dec-13 21:43 
AnswerRe: Date is displayed as 41606.4350485301 and not 2013-11-28 10:20:30.783 ! Pin
Mycroft Holmes1-Dec-13 21:51
professionalMycroft Holmes1-Dec-13 21:51 
GeneralRe: Date is displayed as 41606.4350485301 and not 2013-11-28 10:20:30.783 ! Pin
emma.sun.sts1-Dec-13 21:59
emma.sun.sts1-Dec-13 21:59 
GeneralRe: Date is displayed as 41606.4350485301 and not 2013-11-28 10:20:30.783 ! Pin
GuyThiebaut1-Dec-13 22:24
professionalGuyThiebaut1-Dec-13 22:24 
GeneralRe: Date is displayed as 41606.4350485301 and not 2013-11-28 10:20:30.783 ! Pin
emma.sun.sts4-Dec-13 15:28
emma.sun.sts4-Dec-13 15:28 
AnswerRe: Date is displayed as 41606.4350485301 and not 2013-11-28 10:20:30.783 ! Pin
Richard MacCutchan1-Dec-13 23:46
mveRichard MacCutchan1-Dec-13 23:46 
QuestionProblem resolving namespace Pin
mirdana1-Dec-13 21:06
mirdana1-Dec-13 21:06 
I'm working on a project and there is 2 classes named 'Utility' & 'ServerUtils' both static and in the same namespace but in separate files.

C#
namespace HeadName.ProcessFiles
{
    public static class ServerUtils
    {
    }
}


C#
namespace HeadName.ProcessFiles
{
    public static class Utility
    {
    }
}


now assume that there is two another classes which need to use 'utility' & 'ServerUtils'.

C#
namespace HeadName.ProcessFile.Rating
{
    public class Calculator
    {
    }
}


C#
namespace HeadName.ProcessFile.Rating
{
    public class Server
    {
    }
}


Problem was just here, VS didn't show the Utility class when i
type "HeadName.ProcessFile." but ServerUtils was there. not only on my pc...

when i complete the code by hand IDE draw a red line under it saying there is not such thing. i decide to compile and see what will happen. no compile error.Confused | :confused: . i add a number to the end of class's name to be sure and compiler show error. so this is about IDE not my code. after some works my colleage deletes user file near project file, Prblem solved. but on my pc there was none and we think deleting .suo file near solution file may help and it did work.
the question is why? and what is this? did i do something wrong or it's VS problem.

bad english, I know Smile | :)
AnswerRe: Problem resolving namespace Pin
Sampath Sridhar1-Dec-13 22:16
Sampath Sridhar1-Dec-13 22:16 
AnswerRe: Problem resolving namespace Pin
Nicholas Marty1-Dec-13 23:42
professionalNicholas Marty1-Dec-13 23:42 
AnswerRe: Problem resolving namespace Pin
BillWoodruff1-Dec-13 23:53
professionalBillWoodruff1-Dec-13 23:53 
AnswerRe: Problem resolving namespace Pin
mirdana2-Dec-13 22:25
mirdana2-Dec-13 22:25 
Question[Solved] Specified cast is not valid: assigning float values 0.00 vs 0.00f Pin
emma.sun.sts1-Dec-13 20:29
emma.sun.sts1-Dec-13 20:29 
AnswerRe: Specified cast is not valid: assigning float values 0.00 vs 0.00f Pin
Abhinav S1-Dec-13 20:33
Abhinav S1-Dec-13 20:33 
AnswerRe: Specified cast is not valid: assigning float values 0.00 vs 0.00f Pin
Peter Leow1-Dec-13 20:44
professionalPeter Leow1-Dec-13 20:44 
QuestionWhat is use of nested transaction in sql server Pin
Girijesh Kr. Prajapati1-Dec-13 20:15
Girijesh Kr. Prajapati1-Dec-13 20:15 
AnswerRe: What is use of nested transaction in sql server Pin
Abhinav S1-Dec-13 20:34
Abhinav S1-Dec-13 20:34 
AnswerRe: What is use of nested transaction in sql server Pin
OriginalGriff1-Dec-13 20:36
mveOriginalGriff1-Dec-13 20:36 
QuestionHow can we identify that the Page is Post Back? Pin
IFTIKHAR AHMADQ1-Dec-13 5:16
IFTIKHAR AHMADQ1-Dec-13 5:16 
AnswerRe: How can we identify that the Page is Post Back? Pin
OriginalGriff1-Dec-13 5:43
mveOriginalGriff1-Dec-13 5:43 
AnswerRe: How can we identify that the Page is Post Back? Pin
DRAYKKO7771-Dec-13 9:02
DRAYKKO7771-Dec-13 9:02 
AnswerRe: How can we identify that the Page is Post Back? Pin
Abhinav S1-Dec-13 20:36
Abhinav S1-Dec-13 20:36 
QuestionXml and .NET Remoting Pin
DaemonDarkthorn30-Nov-13 1:30
DaemonDarkthorn30-Nov-13 1:30 
AnswerRe: Xml and .NET Remoting Pin
SledgeHammer0130-Nov-13 9:35
SledgeHammer0130-Nov-13 9:35 
Questionvs2010 Setup and deployment with database Pin
Member 848098029-Nov-13 21:45
Member 848098029-Nov-13 21:45 

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.