TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
harish reddy
NA
162
33.8k
Arrays mutlidimension
Nov 22 2017 9:53 AM
int[,] matrix =
{
{1, 2, 3, 4},
{5, 6, 7, 8},
};
We can get the number of the rows of this two-dimensional array by using matrix.GetLength(0) and the number of all columns per row with matrix.GetLength(1). So, in this case matrix.GetLength(0) returns 2 and matrix.GetLength(1) returns 4.
Can you explain why the result is 2 and 4?
Reply
Answers (
2
)
How to get respone for video by using Cognitive Service API
c# Search data grid column for top 10 repeaters