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

C#

 
AnswerRe: Issues in ajax call in MVC Pin
Dhyanga9-Apr-18 6:50
Dhyanga9-Apr-18 6:50 
QuestionSyntax of creating the following matrix in C# Pin
Shibe19959-Apr-18 1:00
Shibe19959-Apr-18 1:00 
AnswerRe: Syntax of creating the following matrix in C# Pin
Gerry Schmitz9-Apr-18 2:27
mveGerry Schmitz9-Apr-18 2:27 
AnswerRe: Syntax of creating the following matrix in C# Pin
Dave Kreskowiak9-Apr-18 4:28
mveDave Kreskowiak9-Apr-18 4:28 
AnswerRe: Syntax of creating the following matrix in C# Pin
BillWoodruff11-Apr-18 8:26
professionalBillWoodruff11-Apr-18 8:26 
Questiongeneric type with value parameter rather than type parameter Pin
Alexander Kindel7-Apr-18 11:19
Alexander Kindel7-Apr-18 11:19 
AnswerRe: generic type with value parameter rather than type parameter Pin
OriginalGriff7-Apr-18 23:27
mveOriginalGriff7-Apr-18 23:27 
GeneralRe: generic type with value parameter rather than type parameter Pin
Alexander Kindel8-Apr-18 0:46
Alexander Kindel8-Apr-18 0:46 
I happened across a way I might theoretically make the modulus value part of the type, but it's messier than your suggestion by a very wide margin: give Polynomial a type parameter that takes an Enum, generate an Enum at runtime whose number of elements is equal to the desired modulus using EnumBuilder, pass that to Polynomial, and use GetValues().Length or something to extract the modulus value. Definitely not worth it, haha.

Really, the important thing is that now I have a vote of confidence that there isn't an obvious "correct" way to handle it that I've missed.
GeneralRe: generic type with value parameter rather than type parameter Pin
OriginalGriff8-Apr-18 1:15
mveOriginalGriff8-Apr-18 1:15 
AnswerRe: generic type with value parameter rather than type parameter Pin
BillWoodruff8-Apr-18 3:39
professionalBillWoodruff8-Apr-18 3:39 
AnswerRe: generic type with value parameter rather than type parameter Pin
#realJSOP8-Apr-18 5:36
mve#realJSOP8-Apr-18 5:36 
GeneralRe: generic type with value parameter rather than type parameter Pin
Alexander Kindel8-Apr-18 11:30
Alexander Kindel8-Apr-18 11:30 
AnswerRe: generic type with value parameter rather than type parameter Pin
Gerry Schmitz8-Apr-18 6:54
mveGerry Schmitz8-Apr-18 6:54 
GeneralRe: generic type with value parameter rather than type parameter Pin
Alexander Kindel8-Apr-18 11:18
Alexander Kindel8-Apr-18 11:18 
GeneralRe: generic type with value parameter rather than type parameter Pin
Gerry Schmitz8-Apr-18 12:00
mveGerry Schmitz8-Apr-18 12:00 
GeneralRe: generic type with value parameter rather than type parameter Pin
BillWoodruff9-Apr-18 11:47
professionalBillWoodruff9-Apr-18 11:47 
QuestionIssue Deserializing Json in C# SSIS Script Pin
rhutchins12346-Apr-18 14:27
rhutchins12346-Apr-18 14:27 
AnswerRe: Issue Deserializing Json in C# SSIS Script Pin
OriginalGriff6-Apr-18 21:09
mveOriginalGriff6-Apr-18 21:09 
GeneralRe: Issue Deserializing Json in C# SSIS Script Pin
rhutchins12347-Apr-18 3:01
rhutchins12347-Apr-18 3:01 
AnswerRe: Issue Deserializing Json in C# SSIS Script Pin
Gerry Schmitz7-Apr-18 6:51
mveGerry Schmitz7-Apr-18 6:51 
GeneralRe: Issue Deserializing Json in C# SSIS Script Pin
rhutchins12347-Apr-18 16:37
rhutchins12347-Apr-18 16:37 
GeneralRe: Issue Deserializing Json in C# SSIS Script Pin
Gerry Schmitz8-Apr-18 6:06
mveGerry Schmitz8-Apr-18 6:06 
GeneralRe: Issue Deserializing Json in C# SSIS Script Pin
rhutchins123414-Apr-18 11:05
rhutchins123414-Apr-18 11:05 
QuestionButton hover problem C# Visual Studio UWP Pin
Member 137658766-Apr-18 1:55
Member 137658766-Apr-18 1:55 
AnswerRe: Button hover problem C# Visual Studio UWP Pin
Pete O'Hanlon6-Apr-18 2:18
mvePete O'Hanlon6-Apr-18 2: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.