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
Manish Tewatia
20
48.2k
3.3m
How to use stackalloc?
Apr 12 2011 1:52 AM
Is this code is correct, I want to allocate memory from the stack..
using
System;
using
System.Globalization;
public class
ABC{
static void
Main(string[] args)
{
unsafe
{
char
* i = stackalloc[
256
];
for
(
int
j =
0
; j <
256
; j++)
i[j] = (
char
)j;
}
}
}
Reply
Answers (
1
)
Query string Using Eval.
problems with my homework