15,892,927 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Use my saved
content filters
Ask a Question
All
Questions
All
Unanswered
FAQ
Response to: Down casting int to byte in generic class
Revision 1
XML
someclass
<
byte
>
s = new someclass
<
byte
>
(); s.somemethod(1);
conversion of Int to byte not feasible, due to size.
Posted 15-Apr-12 0:52am by
ersumitsahu
.
Tags:
C#
Top Experts
Last 24hrs
This month
OriginalGriff
80
Pete O'Hanlon
70
Richard MacCutchan
60
_Asif_
50
Dave Kreskowiak
50
Pete O'Hanlon
605
OriginalGriff
350
Richard MacCutchan
225
merano99
120
0x01AA
50
Related Questions
Down casting int to byte in generic class
A question about Casting Generics or "Dynamic Generics"
Casting generics in C#4
How to cast Byte array to int array?
How to get the generic type bytes
Unable to cast Generic Class
How to cast int pointer to to pin_ptr<Byte> from a byte array in C++?
Cast list to generic type?
Generic type parameters C# "cannot implicitly convert 'T' as 'int'
Unable to cast byte[] value of DirectoryAttribute class to IADsSecurityDescriptor