강의

멘토링

커뮤니티

Inflearn Community Q&A

boungbong's profile image
boungbong

asked

Imcoding's C# Basics Course

Array

배열

Written on

·

54

0

int[] number = new int[] {10, 20, 30} 이렇게 선언하고 초기화 하면 number의 0번째 인덱스에 10이 들어가는건가요? 그리고 만약 10이 number의 0번째 인덱스에 들어간다면, int[]number = {10,20,30} 이렇게 선언해도 되는데 굳이 new int[] 사용해서 초기화하는 경우에 대해 궁금합니다. 그리고 선언과 초기화에 따른 메모리 동작 원리에 대해서도 궁금합니다!

C#객체지향

Answer

This question is waiting for answers
Be the first to answer!
boungbong's profile image
boungbong

asked

Ask a question