Click here to Skip to main content
15,885,216 members
Home / Discussions / C#
   

C#

 
QuestionHow do you import and secure a file? Pin
SolJohnston77728-Jun-16 6:21
professionalSolJohnston77728-Jun-16 6:21 
AnswerRe: How do you import and secure a file? Pin
Eddy Vluggen28-Jun-16 7:02
professionalEddy Vluggen28-Jun-16 7:02 
AnswerRe: How do you import and secure a file? Pin
Dave Kreskowiak28-Jun-16 12:20
mveDave Kreskowiak28-Jun-16 12:20 
GeneralRe: How do you import and secure a file? Pin
SolJohnston77730-Jun-16 9:34
professionalSolJohnston77730-Jun-16 9:34 
PraiseWhy don't use C#6 code for ASP.Net MVC application? Pin
Hein Pauwelyn28-Jun-16 3:40
Hein Pauwelyn28-Jun-16 3:40 
AnswerRe: Why don't use C#6 code for ASP.Net MVC application? Pin
Dave Kreskowiak28-Jun-16 3:42
mveDave Kreskowiak28-Jun-16 3:42 
GeneralRe: Why don't use C#6 code for ASP.Net MVC application? Pin
Richard Deeming28-Jun-16 4:01
mveRichard Deeming28-Jun-16 4:01 
GeneralRe: Why don't use C#6 code for ASP.Net MVC application? Pin
BillWoodruff29-Jun-16 8:43
professionalBillWoodruff29-Jun-16 8:43 
Did your teacher mean they didn't like ALL the new features of C# 6, or that they didn't like the new extended semantics of the 'using statement ? uhhh ... how can we possibly know ?

Perhaps your teacher is concerned about this:

"Using static imports only accessible static members and nested types declared in the specified type. Inherited members are not imported." Or,this: "Using static makes extension methods declared in the specified type available for extension method lookup. However, the names of the extension methods are not imported into scope for unqualified reference in code" [^].

So, you might ask your teacher, gently, if they meant you should not do your assignments compiling with C#6, or just not to use the new features in C# 6.
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008

QuestionEWS Managed API : "The SMTP address has no mailbox associated with it." Pin
Kuthuparakkal28-Jun-16 2:16
Kuthuparakkal28-Jun-16 2:16 
AnswerRe: EWS Managed API : "The SMTP address has no mailbox associated with it." Pin
OriginalGriff28-Jun-16 2:25
mveOriginalGriff28-Jun-16 2:25 
QuestionFloating window implementation using c# Pin
srikrishnathanthri27-Jun-16 19:49
srikrishnathanthri27-Jun-16 19:49 
QuestionNeed Help with Assignment board logic. Pin
Aspylacide27-Jun-16 15:38
Aspylacide27-Jun-16 15:38 
AnswerRe: Need Help with Assignment board logic. Pin
Gerry Schmitz27-Jun-16 19:52
mveGerry Schmitz27-Jun-16 19:52 
AnswerRe: Need Help with Assignment board logic. Pin
Nathan Minier28-Jun-16 1:49
professionalNathan Minier28-Jun-16 1:49 
AnswerRe: Need Help with Assignment board logic. Pin
BillWoodruff28-Jun-16 4:39
professionalBillWoodruff28-Jun-16 4:39 
GeneralRe: Need Help with Assignment board logic. Pin
Aspylacide28-Jun-16 13:34
Aspylacide28-Jun-16 13:34 
AnswerRe: Need Help with Assignment board logic. Pin
Aspylacide28-Jun-16 14:02
Aspylacide28-Jun-16 14:02 
SuggestionRe: Need Help with Assignment board logic. Pin
Aspylacide29-Jun-16 12:25
Aspylacide29-Jun-16 12:25 
Questionc# project Pin
Member 1260671027-Jun-16 11:21
Member 1260671027-Jun-16 11:21 
AnswerRe: c# project Pin
OriginalGriff27-Jun-16 19:44
mveOriginalGriff27-Jun-16 19:44 
QuestionCreate update for your program in C# Pin
Bilal PC27-Jun-16 9:32
Bilal PC27-Jun-16 9:32 
AnswerRe: Create update for your program in C# Pin
Dave Kreskowiak27-Jun-16 10:00
mveDave Kreskowiak27-Jun-16 10:00 
GeneralThis question is removed Pin
lokeshnj27-Jun-16 4:32
lokeshnj27-Jun-16 4:32 
AnswerRe: I have requirement to compare two list or any container which is feasible for the requirement in C#.net Pin
Eddy Vluggen27-Jun-16 7:29
professionalEddy Vluggen27-Jun-16 7:29 
GeneralRe: I have requirement to compare two list or any container which is feasible for the requirement in C#.net Pin
Jim_Snyder30-Jun-16 4:18
professionalJim_Snyder30-Jun-16 4:18 

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.